post_code: add post code for memory error
Add a new post code POST_RAM_FAILURE, used when the Intel FSP code fails to initialize RAM. BUG=b:124401932 BRANCH=sarien TEST=build coreboot for sarien and arcada platforms Change-Id: Ibafefa0fc0b1c525f923929cc91731fbcc1e7533 Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32773 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
@@ -316,7 +316,8 @@ static void do_fsp_memory_init(struct fsp_header *hdr, bool s3wake,
|
||||
fsp_handle_reset(status);
|
||||
if (status != FSP_SUCCESS) {
|
||||
printk(BIOS_CRIT, "FspMemoryInit returned 0x%08x\n", status);
|
||||
die("FspMemoryInit returned an error!\n");
|
||||
die_with_post_code(POST_RAM_FAILURE,
|
||||
"FspMemoryInit returned an error!\n");
|
||||
}
|
||||
|
||||
do_fsp_post_memory_init(s3wake, fsp_version);
|
||||
|
Reference in New Issue
Block a user