summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/ppc/init/ppc_main.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/arch/ppc/init/ppc_main.c b/src/arch/ppc/init/ppc_main.c
index f7405fad33..4dd4487ae8 100644
--- a/src/arch/ppc/init/ppc_main.c
+++ b/src/arch/ppc/init/ppc_main.c
@@ -28,9 +28,20 @@ void ppc_main(void)
unsigned *from;
unsigned *to;
+ /*
+ * very early board initialization
+ */
board_init();
- sdram_init();
+ /*
+ * turn on memory
+ */
+ memory_init();
+
+ /*
+ * final initialization before jumping to payload
+ */
+ board_init2();
/*
* Flush cache now that memory is enabled.