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
This commit is contained in:
Greg Watson
2004-06-05 14:54:46 +00:00
parent 8ce104f487
commit ab8ff84402
7 changed files with 39 additions and 15 deletions

View File

@@ -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.