From f41f2aab7c069911b0549bf2c95707aaa64bf26d Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Mon, 18 Jul 2016 12:03:58 -0500 Subject: 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 Reviewed-on: https://review.coreboot.org/15747 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Andrey Petrov --- src/drivers/intel/fsp2_0/memory_init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/drivers/intel') 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; -- cgit v1.2.3