diff options
Diffstat (limited to 'src/drivers/intel/fsp2_0/debug.c')
-rw-r--r-- | src/drivers/intel/fsp2_0/debug.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/drivers/intel/fsp2_0/debug.c b/src/drivers/intel/fsp2_0/debug.c index ffc9d4fc24..218c8a4279 100644 --- a/src/drivers/intel/fsp2_0/debug.c +++ b/src/drivers/intel/fsp2_0/debug.c @@ -42,9 +42,15 @@ void fsp_debug_after_memory_init(enum fsp_status status) if (IS_ENABLED(CONFIG_DISPLAY_FSP_CALLS_AND_STATUS)) printk(BIOS_DEBUG, "FspMemoryInit returned 0x%08x\n", status); - /* Display the HOBs */ + /* Verify that the HOB list pointer was set */ + if (fsp_get_hob_list() == NULL) + die("ERROR - HOB list pointer was not returned!\n"); + + /* Display and verify the HOBs */ if (IS_ENABLED(CONFIG_DISPLAY_HOBS)) fsp_display_hobs(); + if (IS_ENABLED(CONFIG_VERIFY_HOBS)) + fsp_verify_memory_init_hobs(); /* Display the MTRRs */ if (IS_ENABLED(CONFIG_DISPLAY_MTRRS)) |