diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 15:11:50 +1100 |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 15:11:50 +1100 |
commit | 2e2613d2c4755426cb6bfddf1ca7714b0deec177 (patch) | |
tree | 7430db819968e9b01c5dbb486f5e88e5367a355e /arch/i386/include/asm | |
parent | cfbe861506e2dc3250ac99dc45bb3d1ac60f4857 (diff) | |
download | u-boot-imx-2e2613d2c4755426cb6bfddf1ca7714b0deec177.zip u-boot-imx-2e2613d2c4755426cb6bfddf1ca7714b0deec177.tar.gz u-boot-imx-2e2613d2c4755426cb6bfddf1ca7714b0deec177.tar.bz2 |
x86: Move initial gd to fixed location
Diffstat (limited to 'arch/i386/include/asm')
-rw-r--r-- | arch/i386/include/asm/global_data.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/i386/include/asm/global_data.h b/arch/i386/include/asm/global_data.h index e9000c3..cd067f5 100644 --- a/arch/i386/include/asm/global_data.h +++ b/arch/i386/include/asm/global_data.h @@ -87,7 +87,12 @@ extern gd_t *gd; #define GD_FLG_COLD_BOOT 0x00100 /* Cold Boot */ #define GD_FLG_WARM_BOOT 0x00200 /* Warm Boot */ - +#if 0 #define DECLARE_GLOBAL_DATA_PTR +#else +#define XTRN_DECLARE_GLOBAL_DATA_PTR extern +#define DECLARE_GLOBAL_DATA_PTR XTRN_DECLARE_GLOBAL_DATA_PTR \ +gd_t *gd +#endif #endif /* __ASM_GBL_DATA_H */ |