summaryrefslogtreecommitdiffstats
path: root/board/versatile/versatile.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/versatile/versatile.c')
-rw-r--r--board/versatile/versatile.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/versatile/versatile.c b/board/versatile/versatile.c
index 0274027096..9d1a25ec8a 100644
--- a/board/versatile/versatile.c
+++ b/board/versatile/versatile.c
@@ -35,6 +35,8 @@
#include <common.h>
+DECLARE_GLOBAL_DATA_PTR;
+
void flash__init (void);
void ether__init (void);
void peripheral_power_enable (void);
@@ -61,9 +63,6 @@ static inline void delay (unsigned long loops)
int board_init (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
-
/*
* set clock frequency:
* VERSATILE_REFCLK is 32KHz
OpenPOWER on IntegriCloud