diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2016-08-11 17:40:01 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2016-08-12 03:36:45 +0200 |
commit | 6359a7592619c77ea21b6ea9a94d261a3257d6d0 (patch) | |
tree | 0c5caa5c6368388d38dfb309ae737d5408c74088 /src/drivers | |
parent | 3a21d0f341104dbef041f1dde8541d6054eb04e6 (diff) | |
download | coreboot-6359a7592619c77ea21b6ea9a94d261a3257d6d0.tar.gz coreboot-6359a7592619c77ea21b6ea9a94d261a3257d6d0.tar.bz2 coreboot-6359a7592619c77ea21b6ea9a94d261a3257d6d0.zip |
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.
Change-Id: I6382f5ff92092623955806ebff340608c4ee156a
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/16162
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/intel/fsp2_0/debug.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp2_0/debug.c b/src/drivers/intel/fsp2_0/debug.c index 6d88f024ae65..a0035694f183 100644 --- a/src/drivers/intel/fsp2_0/debug.c +++ b/src/drivers/intel/fsp2_0/debug.c @@ -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"); |