nb/intel/i440bx: Ready raminit for S3 resume path

Change-Id: I77e95850af82a5684ba10841260db021f5de1e8b
Signed-off-by: Keith Hui <buurin@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40960
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Keith Hui 2020-04-29 12:47:41 -04:00 committed by Patrick Georgi
parent 11bce2059b
commit 0e0fdbef1c
3 changed files with 3 additions and 3 deletions

View File

@ -1004,7 +1004,7 @@ static void sdram_enable(void)
void __weak enable_spd(void) { }
void __weak disable_spd(void) { }
void sdram_initialize(void)
void sdram_initialize(int s3resume)
{
timestamp_add_now(TS_BEFORE_INITRAM);
enable_spd();

View File

@ -9,7 +9,7 @@
void enable_spd(void);
void disable_spd(void);
void sdram_initialize(void);
void sdram_initialize(int s3resume);
void mainboard_enable_serial(void);
/* Debug */

View File

@ -10,6 +10,6 @@ void mainboard_romstage_entry(void)
{
i82371eb_early_init();
sdram_initialize();
sdram_initialize(0);
cbmem_initialize_empty();
}