summaryrefslogtreecommitdiff
path: root/src/arch/ppc/init
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2004-06-05 14:54:46 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2004-06-05 14:54:46 +0000
commitab8ff84402e97d544b519ec17a2ee184651b8af6 (patch)
treea5e3d276108fbd280b9cd584412c5c9130b0c175 /src/arch/ppc/init
parent8ce104f487a8248be143b4436b7a4abc3969bb6f (diff)
Add extra phase before memory init.
Rename sdram_init to memory_init NOTE: need to test sandpoint and ep boards! git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1603 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/ppc/init')
-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.