summaryrefslogtreecommitdiff
path: root/src/soc/intel/meteorlake
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/meteorlake')
-rw-r--r--src/soc/intel/meteorlake/chip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/meteorlake/chip.c b/src/soc/intel/meteorlake/chip.c
index 84b9235b25..d2011f9899 100644
--- a/src/soc/intel/meteorlake/chip.c
+++ b/src/soc/intel/meteorlake/chip.c
@@ -264,7 +264,7 @@ static void soc_enable(struct device *dev)
static void soc_init_final_device(void *chip_info)
{
- uint32_t reset_status = fsp_get_pch_reset_status();
+ efi_return_status_t reset_status = fsp_get_pch_reset_status();
if (reset_status == FSP_SUCCESS)
return;
@@ -273,8 +273,8 @@ static void soc_init_final_device(void *chip_info)
fsp_handle_reset(reset_status);
/* Control shouldn't return here */
- die_with_post_code(POSTCODE_HW_INIT_FAILURE,
- "Failed to handle the FSP reset request with error 0x%08x\n", reset_status);
+ fsp_die_with_post_code(reset_status, POSTCODE_HW_INIT_FAILURE,
+ "Failed to handle the FSP reset request with error");
}
struct chip_operations soc_intel_meteorlake_ops = {