summaryrefslogtreecommitdiff
path: root/src/soc/intel/quark
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/quark')
-rw-r--r--src/soc/intel/quark/i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/quark/i2c.c b/src/soc/intel/quark/i2c.c
index 595c818593..bb1a26437f 100644
--- a/src/soc/intel/quark/i2c.c
+++ b/src/soc/intel/quark/i2c.c
@@ -38,7 +38,8 @@ static void i2c_disable(I2C_REGS *regs)
while (status & IC_ENABLE_CONTROLLER) {
udelay(1);
if (--timeout == 0)
- die("ERROR - I2C failed to disable!\n");
+ die_with_post_code(POST_HW_INIT_FAILURE,
+ "ERROR - I2C failed to disable!\n");
status = regs->ic_enable_status;
}