diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-18 15:26:48 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-27 08:26:16 +0000 |
commit | f5cf60f25b8c77e0c90094e3326c5bc0e37cb383 (patch) | |
tree | 63967d01ebab0c1cdb41c58d4c52fea1d45616a4 /src/mainboard | |
parent | 12724d6ad6fd6ab0ca8ea5d258c0ca7cce807441 (diff) |
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/lenovo/x201/romstage.c | 4 | ||||
-rw-r--r-- | src/mainboard/packardbell/ms2290/romstage.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c index c5a3120838..7e895b46f0 100644 --- a/src/mainboard/lenovo/x201/romstage.c +++ b/src/mainboard/lenovo/x201/romstage.c @@ -23,7 +23,6 @@ #include <device/pci_ops.h> #include <device/pci_def.h> #include <cpu/x86/lapic.h> -#include <lib.h> #include <romstage_handoff.h> #include <console/console.h> #include <cpu/x86/bist.h> @@ -273,7 +272,4 @@ void mainboard_romstage_entry(unsigned long bist) } romstage_handoff_init(s3resume); - - if (!s3resume) - quick_ram_check(); } diff --git a/src/mainboard/packardbell/ms2290/romstage.c b/src/mainboard/packardbell/ms2290/romstage.c index b20c445fef..35b90f6a2a 100644 --- a/src/mainboard/packardbell/ms2290/romstage.c +++ b/src/mainboard/packardbell/ms2290/romstage.c @@ -23,7 +23,6 @@ #include <device/pci_ops.h> #include <device/pci_def.h> #include <cpu/x86/lapic.h> -#include <lib.h> #include <romstage_handoff.h> #include <console/console.h> #include <cpu/x86/bist.h> @@ -266,7 +265,4 @@ void mainboard_romstage_entry(unsigned long bist) } romstage_handoff_init(s3resume); - - if (!s3resume) - quick_ram_check(); } |