]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/eltec/elppc/elppc.c
GCC-4.x fixes: clean up global data pointer initialization for all boards.
[karo-tx-uboot.git] / board / eltec / elppc / elppc.c
index a9dbeb209599eb71978253afdb72e45ae5b1616a..108adb13d5fb70c4d9ab79973756e562ba43c6ee 100644 (file)
@@ -26,6 +26,8 @@
 #include <mpc106.h>
 #include <video_fb.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 /* ------------------------------------------------------------------------- */
 
 int checkboard (void)
@@ -137,8 +139,6 @@ void watchdog_reset (void)
 
 void after_reloc (ulong dest_addr)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        /*
         * Jump to the main U-Boot board init code
         */