aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/fsp_baytrail/southcluster.c
diff options
context:
space:
mode:
authorKeith Short <keithshort@chromium.org>2019-05-09 11:40:34 -0600
committerDuncan Laurie <dlaurie@chromium.org>2019-05-22 17:44:53 +0000
commit15588b03b36aa875e2a2a31cc649a2d9dff7581e (patch)
tree70c054b070ca0b4f962b362d06ff62ef8a7454e9 /src/soc/intel/fsp_baytrail/southcluster.c
parent24302633a558e545efcc84178136bd1879f6d8ee (diff)
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>
Diffstat (limited to 'src/soc/intel/fsp_baytrail/southcluster.c')
-rw-r--r--src/soc/intel/fsp_baytrail/southcluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/fsp_baytrail/southcluster.c b/src/soc/intel/fsp_baytrail/southcluster.c
index c84f4083d4..356b855f3b 100644
--- a/src/soc/intel/fsp_baytrail/southcluster.c
+++ b/src/soc/intel/fsp_baytrail/southcluster.c
@@ -98,7 +98,7 @@ static void sc_enable_ioapic(struct device *dev)
reg32 = *ioapic_data;
printk(BIOS_DEBUG, "Southbridge APIC ID = %x\n", (reg32 >> 24) & 0x0f);
if (reg32 != (1 << 25))
- die("APIC Error\n");
+ die_with_post_code(POST_HW_INIT_FAILURE, "APIC Error\n");
printk(BIOS_SPEW, "Dumping IOAPIC registers\n");
for (i=0; i<3; i++) {