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
@ -31,7 +31,6 @@
|
||||
#include <southbridge/intel/common/smbus.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <delay.h>
|
||||
#include <lib.h>
|
||||
#include "raminit_native.h"
|
||||
#include "raminit_common.h"
|
||||
#include "sandybridge.h"
|
||||
@ -419,9 +418,6 @@ static void init_dram_ddr3(int min_tck, int s3resume)
|
||||
/* Zone config */
|
||||
dram_zones(&ctrl, 0);
|
||||
|
||||
/* Non intrusive, fast ram check */
|
||||
quick_ram_check();
|
||||
|
||||
intel_early_me_status();
|
||||
intel_early_me_init_done(ME_INIT_STATUS_SUCCESS);
|
||||
intel_early_me_status();
|
||||
|
Reference in New Issue
Block a user