]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/esd/canbt/canbt.c
GCC-4.x fixes: clean up global data pointer initialization for all boards.
[karo-tx-uboot.git] / board / esd / canbt / canbt.c
index 2ced6cb17f282767fbf8aad2a658a165da19f2aa..055a39773061ac05cb8839d07b4d8d1a0430e701 100644 (file)
@@ -26,6 +26,7 @@
 #include <asm/processor.h>
 #include <command.h>
 
+DECLARE_GLOBAL_DATA_PTR;
 
 /*cmd_boot.c*/
 extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
@@ -50,8 +51,6 @@ const unsigned char fpgadata[] = {
 
 int board_early_init_f (void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        unsigned long cntrl0Reg;
        int index, len, i;
        int status;