diff options
author | Andrey Petrov <andrey.petrov@intel.com> | 2016-07-18 00:15:41 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-07-19 21:03:03 +0200 |
commit | 3a94a3ba5b238067f382d07f92c57373003b79cc (patch) | |
tree | 37e2b5da73fef0646590ac13306871a25b92dbed /src/drivers/intel/fsp2_0/include/fsp/api.h | |
parent | 1b1d4b7ae653e56ec7cdeec438487ae7ded0e62a (diff) |
drivers/intel/fsp2_0: Split reset handling logic
FSP 2.0 spec only defines 2 reset request (COLD, WARM) exit codes. The
rest 6 codes are platform-specific and may vary. Modify helper function
so that only basic resets are handled and let SoC deal with the rest.
Change-Id: Ib2f446e0449301407b135933a2088bcffc3ac32a
Signed-off-by: Andrey Petrov <andrey.petrov@intel.com>
Reviewed-on: https://review.coreboot.org/15730
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers/intel/fsp2_0/include/fsp/api.h')
-rw-r--r-- | src/drivers/intel/fsp2_0/include/fsp/api.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/drivers/intel/fsp2_0/include/fsp/api.h b/src/drivers/intel/fsp2_0/include/fsp/api.h index 31137cc8f5..48cc54fb70 100644 --- a/src/drivers/intel/fsp2_0/include/fsp/api.h +++ b/src/drivers/intel/fsp2_0/include/fsp/api.h @@ -22,9 +22,12 @@ enum fsp_status { FSP_SUCCESS = 0x00000000, FSP_STATUS_RESET_REQUIRED_COLD = 0x40000001, FSP_STATUS_RESET_REQUIRED_WARM = 0x40000002, - FSP_STATUS_RESET_REQUIRED_SHUTDOWN = 0x40000003, - FSP_STATUS_RESET_REQUIRED_UNDEFINED = 0x40000004, - FSP_STATUS_RESET_REQUIRED_GLOBAL_RESET = 0x40000005, + FSP_STATUS_RESET_REQUIRED_3 = 0x40000003, + FSP_STATUS_RESET_REQUIRED_4 = 0x40000004, + FSP_STATUS_RESET_REQUIRED_5 = 0x40000005, + FSP_STATUS_RESET_REQUIRED_6 = 0x40000006, + FSP_STATUS_RESET_REQUIRED_7 = 0x40000007, + FSP_STATUS_RESET_REQUIRED_8 = 0x40000008, FSP_INVALID_PARAMETER = 0x80000002, FSP_UNSUPPORTED = 0x80000003, FSP_NOT_READY = 0x80000006, |