summaryrefslogtreecommitdiff
path: root/lib_ppc/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_ppc/board.c')
-rw-r--r--lib_ppc/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index d9a12a124..e8509ee0e 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -655,6 +655,10 @@ void board_init_r (gd_t *id, ulong dest_addr)
TOTAL_MALLOC_LEN;
#endif
+#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
+ gd->cpu += gd->reloc_off;
+#endif
+
#ifdef CONFIG_SERIAL_MULTI
serial_initialize();
#endif