summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-07-18 12:03:58 -0500
committerAaron Durbin <adurbin@chromium.org>2016-07-19 20:19:14 +0200
commitf41f2aab7c069911b0549bf2c95707aaa64bf26d (patch)
tree213ec1e5c62f3dbd958662241c56afe0ebb62dbe /src
parent02e504cdb1607beec1ecb66b79afc26149e8d60b (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/fsp2_0/memory_init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/intel/fsp2_0/memory_init.c b/src/drivers/intel/fsp2_0/memory_init.c
index 642df460c0..fb9924456f 100644
--- a/src/drivers/intel/fsp2_0/memory_init.c
+++ b/src/drivers/intel/fsp2_0/memory_init.c
@@ -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;