]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/amcc/yellowstone/yellowstone.c
GCC-4.x fixes: clean up global data pointer initialization for all boards.
[karo-tx-uboot.git] / board / amcc / yellowstone / yellowstone.c
index 8ddf910c8e4e37264ab8e4f292bc9abb3da241f1..20965c8e3ead7e039b17eb289f5e864af425e6ea 100644 (file)
@@ -24,6 +24,8 @@
 #include <asm/processor.h>
 #include <spd_sdram.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 extern flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; /* info for FLASH chips   */
 
 int board_early_init_f(void)
@@ -136,7 +138,6 @@ int board_early_init_f(void)
 
 int misc_init_r (void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
        uint pbcr;
        int size_val = 0;