mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: drivers/intel/fsp2_0: Fix FSP reset path
Don't verify HOB list pointer or HOBs when FSP returns a reset request. BRANCH=none BUG=chrome-os-partner:56159 TEST=Build and run on Galileo Gen2. Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/16162 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Change-Id: I6382f5ff92092623955806ebff340608c4ee156a Reviewed-on: https://chromium-review.googlesource.com/369151 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
2c9dfe61bd
commit
727e1db284
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,9 @@ void fsp_debug_after_memory_init(enum fsp_status status)
|
|||
if (IS_ENABLED(CONFIG_DISPLAY_FSP_CALLS_AND_STATUS))
|
||||
printk(BIOS_SPEW, "FspMemoryInit returned 0x%08x\n", status);
|
||||
|
||||
if (status != FSP_SUCCESS)
|
||||
return;
|
||||
|
||||
/* Verify that the HOB list pointer was set */
|
||||
if (fsp_get_hob_list() == NULL)
|
||||
die("ERROR - HOB list pointer was not returned!\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue