]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib_microblaze/board.c
GCC-4.x fixes: clean up global data pointer initialization for all boards.
[karo-tx-uboot.git] / lib_microblaze / board.c
index bc987a338088546c17685a231c9398f2965dbfd4..026d247e54ad8a36a1b5ebf53ab6a5539583b8b5 100644 (file)
@@ -28,6 +28,8 @@
 #include <version.h>
 #include <watchdog.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 const char version_string[] =
        U_BOOT_VERSION" (" __DATE__ " - " __TIME__ ")";
 
@@ -72,8 +74,6 @@ init_fnc_t *init_sequence[] = {
 
 void board_init(void)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        bd_t *bd;
        init_fnc_t **init_fnc_ptr;