aboutsummaryrefslogtreecommitdiff
path: root/board/evb64260/evb64260.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/evb64260/evb64260.c')
-rw-r--r--board/evb64260/evb64260.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/evb64260/evb64260.c b/board/evb64260/evb64260.c
index 1c02e321f..02431dab5 100644
--- a/board/evb64260/evb64260.c
+++ b/board/evb64260/evb64260.c
@@ -315,8 +315,10 @@ int misc_init_r (void)
}
void
-after_reloc(gd_t *gd, ulong dest_addr)
+after_reloc(ulong dest_addr)
{
+ DECLARE_GLOBAL_DATA_PTR;
+
/* check to see if we booted from the sram. If so, move things
* back to the way they should be. (we're running from main
* memory at this point now */