summaryrefslogtreecommitdiff
path: root/board/bf561-ezkit/bf561-ezkit.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bf561-ezkit/bf561-ezkit.c')
-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");