Index: uboot_davinci/include/asm-arm/global_data.h =================================================================== --- uboot_davinci.orig/include/asm-arm/global_data.h +++ uboot_davinci/include/asm-arm/global_data.h @@ -61,6 +61,8 @@ typedef struct global_data { #define GD_FLG_DEVINIT 0x00002 /* Devices have been initialized */ #define GD_FLG_SILENT 0x00004 /* Silent mode */ -#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r8") +#define DECLARE_GLOBAL_DATA_PTR + +register gd_t *gd asm ("r8"); #endif /* __ASM_GBL_DATA_H */