X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Feltec%2Fbab7xx%2Fbab7xx.c;h=555475e4d9c5872a3d52bc3f9465def4aa88466c;hb=f93286397ed2a7084efb0362a43ee09f11702349;hp=fc48ed547e707fe41d3871d4ddeadc90f2962eb0;hpb=bf9e3b38f77c2eac620263dd60437c6ec47a27bf;p=oweals%2Fu-boot.git diff --git a/board/eltec/bab7xx/bab7xx.c b/board/eltec/bab7xx/bab7xx.c index fc48ed547e..555475e4d9 100644 --- a/board/eltec/bab7xx/bab7xx.c +++ b/board/eltec/bab7xx/bab7xx.c @@ -31,6 +31,8 @@ #include #include +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 */