drivers/ocp/ewl: Enforce MRC when there's EWL type3 error
If Fastboot is enabled, the next boot will skip MRC and won't be able to detect MRC error via EWL and still continues booting. Enforce FSP MRC training in the next boot. Change-Id: I9dee0472f8e2602cecf88c6d00dec0bf02b9f7bd Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69148 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
This commit is contained in:
parent
3435f81ab7
commit
f89cd1cf43
|
@ -87,6 +87,10 @@ void get_ewl(void)
|
|||
}
|
||||
offset += warning_header->Size;
|
||||
}
|
||||
if (type3_flag)
|
||||
if (type3_flag) {
|
||||
/* If Fastboot is enabled, the next boot will skip MRC and won't detect
|
||||
MRC error via EWL and still can boot up, so enforce MRC after reboot. */
|
||||
soc_set_mrc_cold_boot_flag(true);
|
||||
die("Memory Training Error!\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue