Move calls to quick_ram_check() before CBMEM init
After raminit completes, do a read-modify-write test just below CBMEM top address. If test fails, die(). Change-Id: I33d4153a5ce0908b8889517394afb46f1ca28f92 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31978 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
This commit is contained in:
committed by
Patrick Georgi
parent
12724d6ad6
commit
f5cf60f25b
@ -23,7 +23,6 @@
|
||||
#include <arch/cpu.h>
|
||||
#include <delay.h>
|
||||
#include <halt.h>
|
||||
#include <lib.h>
|
||||
#include "iomap.h"
|
||||
#if CONFIG(SOUTHBRIDGE_INTEL_I82801GX)
|
||||
#include <southbridge/intel/i82801gx/i82801gx.h> /* smbus_read_byte */
|
||||
@ -734,6 +733,5 @@ void sdram_initialize(int boot_path, const u8 *spd_map)
|
||||
}
|
||||
|
||||
timestamp_add_now(TS_AFTER_INITRAM);
|
||||
quick_ram_check();
|
||||
printk(BIOS_DEBUG, "Memory initialized\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user