summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/memmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/apollolake/memmap.c')
-rw-r--r--src/soc/intel/apollolake/memmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/memmap.c b/src/soc/intel/apollolake/memmap.c
index 4f91b8aea5..6058e34895 100644
--- a/src/soc/intel/apollolake/memmap.c
+++ b/src/soc/intel/apollolake/memmap.c
@@ -40,7 +40,8 @@ void *cbmem_top(void)
config = dev->chip_info;
if (!config)
- die("Failed to get chip_info\n");
+ die_with_post_code(POST_HW_INIT_FAILURE,
+ "Failed to get chip_info\n");
/* FSP allocates 2x PRMRR Size Memory for alignment */
if (config->sgx_enable)