summaryrefslogtreecommitdiff
path: root/board/bf561-ezkit
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-09-15 20:48:41 +0200
committerWolfgang Denk <wd@denx.de>2007-09-15 20:48:41 +0200
commit1218abf1b5817a39a82399b4b928b00750575bda (patch)
treeeea14f9a563edd02bbc62b8aa493efd270044485 /board/bf561-ezkit
parent66b3f24d665be678a9dbb125b1e84185400f63b5 (diff)
Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as global
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/bf561-ezkit')
-rw-r--r--board/bf561-ezkit/bf561-ezkit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/bf561-ezkit/bf561-ezkit.c b/board/bf561-ezkit/bf561-ezkit.c
index 989b0194c1e..2ff44a7152a 100644
--- a/board/bf561-ezkit/bf561-ezkit.c
+++ b/board/bf561-ezkit/bf561-ezkit.c
@@ -29,6 +29,8 @@
#include <common.h>
#include <asm/io.h>
+DECLARE_GLOBAL_DATA_PTR;
+
int checkboard(void)
{
printf("CPU: ADSP BF561\n");
@@ -39,7 +41,6 @@ int checkboard(void)
long int initdram(int board_type)
{
- DECLARE_GLOBAL_DATA_PTR;
#ifdef DEBUG
int brate;
char *tmp = getenv("baudrate");