summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorzbao <fishbaozi@gmail.com>2015-07-02 16:53:09 -0400
committerZheng Bao <zheng.bao@amd.com>2015-07-16 04:02:54 +0200
commitfe234c4d2a6ce0e1279597566336fe9277b8aa3b (patch)
tree3dddf888d6d0f00afcbd048197b9fe76bba91a35 /src/mainboard
parente731f721bedee7ce9c6ac21249fac05ff5cf63d3 (diff)
downloadcoreboot-fe234c4d2a6ce0e1279597566336fe9277b8aa3b.tar.xz
AMD Merlin Falcon: Mask bit 31 of BIST while doing BIST check
This is a result of the Silcon Observation. On warm reset, the BIST is 0x80000000, which causes BIST error. We skip checking this bit. The update will be in CZ BKDG 1.05. The code is tested on AMD/bettong. Change-Id: I51c3f3567f758766079f7c8789f1ff072e1a7c53 Signed-off-by: Zheng Bao <zheng.bao@amd.com> Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/10902 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/amd/bettong/romstage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/amd/bettong/romstage.c b/src/mainboard/amd/bettong/romstage.c
index 10813b3534..a8a2777a79 100644
--- a/src/mainboard/amd/bettong/romstage.c
+++ b/src/mainboard/amd/bettong/romstage.c
@@ -48,7 +48,7 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
/* Halt if there was a built in self test failure */
post_code(0x34);
- report_bist_failure(bist);
+ report_bist_failure(bist & 0x7FFFFFFF); /* Mask bit 31. One result of Silicon Observation */
/* Load MPB */
val = cpuid_eax(1);