diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 15:12:06 +1100 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 15:12:06 +1100 |
commit | 71a5404974602109e49796c98be5ca073c818e46 (patch) | |
tree | 00b936ea90bc5c2a6031699b90bf7d4b9738ca3b /arch/i386/include | |
parent | 5fed82110dff2d378e0a50787dcd1a96d83c3c5b (diff) | |
download | u-boot-imx-71a5404974602109e49796c98be5ca073c818e46.zip u-boot-imx-71a5404974602109e49796c98be5ca073c818e46.tar.gz u-boot-imx-71a5404974602109e49796c98be5ca073c818e46.tar.bz2 |
x86: Split board_init_f() into init_fnc_t compatible functions
Diffstat (limited to 'arch/i386/include')
-rw-r--r-- | arch/i386/include/asm/global_data.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/i386/include/asm/global_data.h b/arch/i386/include/asm/global_data.h index cd067f5..f8a16d6 100644 --- a/arch/i386/include/asm/global_data.h +++ b/arch/i386/include/asm/global_data.h @@ -46,6 +46,8 @@ typedef struct global_data { unsigned long env_valid; /* Checksum of Environment valid? */ unsigned long cpu_clk; /* CPU clock in Hz! */ unsigned long bus_clk; + unsigned long relocaddr; /* Start address of U-Boot in RAM */ + unsigned long start_addr_sp; /* start_addr_stackpointer */ phys_size_t ram_size; /* RAM size */ unsigned long reset_status; /* reset status register at boot */ void **jt; /* jump table */ @@ -67,11 +69,13 @@ extern gd_t *gd; #define GD_ENV_VALID 7 #define GD_CPU_CLK 8 #define GD_BUS_CLK 9 -#define GD_RAM_SIZE 10 -#define GD_RESET_STATUS 11 -#define GD_JT 12 +#define GD_RELOC_ADDR 10 +#define GD_START_ADDR_SP 11 +#define GD_RAM_SIZE 12 +#define GD_RESET_STATUS 13 +#define GD_JT 14 -#define GD_SIZE 13 +#define GD_SIZE 15 /* * Global Data Flags |