post_code: add post code for hardware initialization failure
Add a new post code POST_HW_INIT_FAILURE, used when coreboot fails to detect or initialize a required hardware component. BUG=b:124401932 BRANCH=sarien TEST=build coreboot for sarien and arcada platforms Change-Id: I73820d24b3e1c269d9d446a78ef4f97e167e3552 Signed-off-by: Keith Short <keithshort@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32774 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
committed by
Duncan Laurie
parent
24302633a5
commit
15588b03b3
@ -220,7 +220,8 @@ static uintptr_t calculate_dram_base(size_t *reserved_mem_size)
|
||||
|
||||
dev = dev_find_slot(0, PCI_DEVFN(SA_DEV_SLOT_IGD, 0));
|
||||
if (!dev)
|
||||
die("ERROR - IGD device not found!");
|
||||
die_with_post_code(POST_HW_INIT_FAILURE,
|
||||
"ERROR - IGD device not found!");
|
||||
|
||||
/* Read TOLUD from Host Bridge offset */
|
||||
dram_base = sa_get_tolud_base();
|
||||
|
Reference in New Issue
Block a user