summaryrefslogtreecommitdiffstats
path: root/board/esd/cpci2dp/cpci2dp.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/cpci2dp/cpci2dp.c')
-rw-r--r--board/esd/cpci2dp/cpci2dp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/esd/cpci2dp/cpci2dp.c b/board/esd/cpci2dp/cpci2dp.c
index 1a27ca0911..36bf329f81 100644
--- a/board/esd/cpci2dp/cpci2dp.c
+++ b/board/esd/cpci2dp/cpci2dp.c
@@ -26,6 +26,8 @@
#include <command.h>
#include <malloc.h>
+DECLARE_GLOBAL_DATA_PTR;
+
int board_early_init_f (void)
{
unsigned long cntrl0Reg;
@@ -74,7 +76,6 @@ int misc_init_f (void)
int misc_init_r (void)
{
- DECLARE_GLOBAL_DATA_PTR;
unsigned long cntrl0Reg;
/* adjust flash start and offset */
OpenPOWER on IntegriCloud