]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ids8247/ids8247.c
GCC-4.x fixes: clean up global data pointer initialization for all boards.
[karo-tx-uboot.git] / board / ids8247 / ids8247.c
index 081ef658e0d92322ec8d359e031b21cc1cba587e..7b9a83d0f954b195830391a02977ee2d3f78cecd 100644 (file)
@@ -25,6 +25,8 @@
 #include <ioports.h>
 #include <mpc8260.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 /*
  * I/O Port configuration table
  *
@@ -295,8 +297,6 @@ long int initdram (int board_type)
 
 int misc_init_r (void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        gd->bd->bi_flashstart = 0xff800000;
 }