diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2007-09-24 14:43:43 -0500 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2007-09-24 14:43:43 -0500 |
commit | 8ffc774993725a0646aa8d1995d968c95aee9e3c (patch) | |
tree | ee69b8872cf8c295a48244280c82d98e191111ab /board/bf537-stamp/bf537-stamp.c | |
parent | d7fee32b7e61fe11c64e371cde79faa4768e8350 (diff) | |
parent | 66dcad3a9a53e0766d90e0084123bd8529522fb0 (diff) |
Merge branch 'master' of git://www.denx.de/git/u-boot
Diffstat (limited to 'board/bf537-stamp/bf537-stamp.c')
-rw-r--r-- | board/bf537-stamp/bf537-stamp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/bf537-stamp/bf537-stamp.c b/board/bf537-stamp/bf537-stamp.c index 919cef688d..b3d8bda9bf 100644 --- a/board/bf537-stamp/bf537-stamp.c +++ b/board/bf537-stamp/bf537-stamp.c @@ -32,6 +32,8 @@ #include <asm/io.h> #include "ether_bf537.h" +DECLARE_GLOBAL_DATA_PTR; + #define POST_WORD_ADDR 0xFF903FFC /* @@ -132,7 +134,6 @@ void cf_outsw(unsigned short *addr, unsigned short *sect_buf, int words) long int initdram(int board_type) { - DECLARE_GLOBAL_DATA_PTR; #ifdef DEBUG int brate; char *tmp = getenv("baudrate"); |