summaryrefslogtreecommitdiff
path: root/board/gen860t/fpga.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/gen860t/fpga.c')
-rw-r--r--board/gen860t/fpga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/gen860t/fpga.c b/board/gen860t/fpga.c
index 37788d5396a..2ba7e0e4207 100644
--- a/board/gen860t/fpga.c
+++ b/board/gen860t/fpga.c
@@ -32,6 +32,8 @@
#include <command.h>
#include "fpga.h"
+DECLARE_GLOBAL_DATA_PTR;
+
#if (CONFIG_FPGA)
#if 0
@@ -189,8 +191,6 @@ void fpga_selectmap_init (void)
*/
int gen860t_init_fpga (void)
{
- DECLARE_GLOBAL_DATA_PTR;
-
int i;
PRINTF ("%s:%d: Initialize FPGA interface (relocation offset = 0x%.8lx)\n", __FUNCTION__, __LINE__, gd->reloc_off);