Add support for a saving build objects in a separate directory.
[oweals/u-boot.git] / board / eltec / bab7xx / bab7xx.c
index fc48ed547e707fe41d3871d4ddeadc90f2962eb0..555475e4d9c5872a3d52bc3f9465def4aa88466c 100644 (file)
@@ -31,6 +31,8 @@
 #include <ns87308.h>
 #include <video_fb.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 /*---------------------------------------------------------------------------*/
 /*
  * Get Bus clock frequency
@@ -169,8 +171,6 @@ long int initdram (int board_type)
 
 void after_reloc (ulong dest_addr)
 {
-       DECLARE_GLOBAL_DATA_PTR;
-
        /*
         * Jump to the main U-Boot board init code
         */