summaryrefslogtreecommitdiffstats
path: root/board/mcc200/mcc200.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/mcc200/mcc200.c')
-rw-r--r--board/mcc200/mcc200.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/mcc200/mcc200.c b/board/mcc200/mcc200.c
index d1c99fdd85..456411dd92 100644
--- a/board/mcc200/mcc200.c
+++ b/board/mcc200/mcc200.c
@@ -30,6 +30,8 @@
#include "mt48lc8m32b2-6-7.h"
+DECLARE_GLOBAL_DATA_PTR;
+
extern flash_info_t flash_info[]; /* FLASH chips info */
ulong flash_get_size (ulong base, int banknum);
@@ -190,8 +192,6 @@ int checkboard (void)
int misc_init_r (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
/*
* Adjust flash start and offset to detected values
*/
OpenPOWER on IntegriCloud