aboutsummaryrefslogtreecommitdiff
path: root/board/etx094/etx094.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/etx094/etx094.c')
-rw-r--r--board/etx094/etx094.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/etx094/etx094.c b/board/etx094/etx094.c
index dba3c11..eb58b5d 100644
--- a/board/etx094/etx094.c
+++ b/board/etx094/etx094.c
@@ -24,6 +24,8 @@
#include <common.h>
#include <mpc8xx.h>
+DECLARE_GLOBAL_DATA_PTR;
+
/* ------------------------------------------------------------------------- */
static long int dram_size (long int, long int *, long int);
@@ -90,8 +92,6 @@ const uint sdram_table[] = {
int checkboard (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
char *s = getenv ("serial#");
char *e;