drivers/intel/fsp2_0: handle reset requests from FSPM

The FSPM component can request resets. Properly handle those.

BUG=chrome-os-partner:52679

Change-Id: If21245443761cb993e86c0e383c8bca87f460a85
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/15747
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
This commit is contained in:
Aaron Durbin 2016-07-18 12:03:58 -05:00
parent 02e504cdb1
commit f41f2aab7c
1 changed files with 3 additions and 1 deletions

View File

@ -223,7 +223,9 @@ static enum fsp_status do_fsp_memory_init(struct fsp_header *hdr, bool s3wake,
printk(BIOS_DEBUG, "FspMemoryInit returned 0x%08x\n", status);
/* TODO: Is this the only thing that can happen? */
/* Handle any resets requested by FSPM. */
fsp_handle_reset(status);
if (status != FSP_SUCCESS)
return status;