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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user