summaryrefslogtreecommitdiffstats
path: root/arch/ppc/lib
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/lib')
-rw-r--r--arch/ppc/lib/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ppc/lib/board.c b/arch/ppc/lib/board.c
index a840c75204..6b6268f679 100644
--- a/arch/ppc/lib/board.c
+++ b/arch/ppc/lib/board.c
@@ -46,6 +46,10 @@ void board_init_r (ulong end_of_ram)
asm ("sync ; isync");
+#ifdef CONFIG_MPC85xx
+ _text_base = end_of_ram;
+#endif
+
/*
* FIXME: 128k stack size. Is this enough? should
* it be configurable?