X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fbf533-stamp%2Fbf533-stamp.c;h=69e425bf974e7cf69a96d31067feca236416d3a4;hb=f930922f061ea7bf585296859d1c14194c24b840;hp=b9dff99171a46cf81b2eebdad9d2ab4255b67e37;hpb=43f6226db002af1d1ff1adf35b422dcce9f76f76;p=oweals%2Fu-boot.git diff --git a/board/bf533-stamp/bf533-stamp.c b/board/bf533-stamp/bf533-stamp.c index b9dff99171..69e425bf97 100644 --- a/board/bf533-stamp/bf533-stamp.c +++ b/board/bf533-stamp/bf533-stamp.c @@ -30,6 +30,8 @@ #include #include "bf533-stamp.h" +DECLARE_GLOBAL_DATA_PTR; + #define STATUS_LED_OFF 0 #define STATUS_LED_ON 1 @@ -55,7 +57,6 @@ int checkboard(void) long int initdram(int board_type) { - DECLARE_GLOBAL_DATA_PTR; #ifdef DEBUG printf("SDRAM attributes:\n"); printf