]> git.sur5r.net Git - u-boot/blobdiff - board/overo/overo.c
CM41xx: fix signedness of env bootargs string pointer
[u-boot] / board / overo / overo.c
index f917e402b06d66d2d9a6004884019d92e78d1349..4eafdb1df392542141ca8c5901558fdebc0d0218 100644 (file)
@@ -40,6 +40,8 @@
 #include <asm/mach-types.h>
 #include "overo.h"
 
+DECLARE_GLOBAL_DATA_PTR;
+
 #define TWL4030_I2C_BUS                        0
 #define EXPANSION_EEPROM_I2C_BUS       2
 #define EXPANSION_EEPROM_I2C_ADDRESS   0x51
@@ -87,8 +89,6 @@ static const u32 gpmc_lan_config[] = {
  */
 int board_init(void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
        /* board id for Linux */
        gd->bd->bi_arch_number = MACH_TYPE_OVERO;