summaryrefslogtreecommitdiff
path: root/board/hymod/bsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/hymod/bsp.c')
-rw-r--r--board/hymod/bsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/hymod/bsp.c b/board/hymod/bsp.c
index 0596fa4aa..6868f260c 100644
--- a/board/hymod/bsp.c
+++ b/board/hymod/bsp.c
@@ -28,6 +28,8 @@
#include <net.h>
#include <asm/iopin_8260.h>
+DECLARE_GLOBAL_DATA_PTR;
+
/*-----------------------------------------------------------------------
* Board Special Commands: FPGA load/store, EEPROM erase
*/
@@ -75,8 +77,6 @@
int
fpga_load (int mezz, uchar *addr, ulong size)
{
- DECLARE_GLOBAL_DATA_PTR;
-
hymod_conf_t *cp = &gd->bd->bi_hymod_conf;
xlx_info_t *fp;
xlx_iopins_t *fpgaio;