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
@ -20,7 +20,6 @@
|
||||
#include <cpu/x86/bist.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <lib.h>
|
||||
#include <timestamp.h>
|
||||
#include <device/pci_def.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
@ -121,9 +120,6 @@ void romstage_common(const struct romstage_params *params)
|
||||
|
||||
intel_early_me_status();
|
||||
|
||||
quick_ram_check();
|
||||
post_code(0x3e);
|
||||
|
||||
if (!wake_from_s3) {
|
||||
cbmem_initialize_empty();
|
||||
/* Save data returned from MRC on non-S3 resumes. */
|
||||
|
Reference in New Issue
Block a user