diff options
author | Andrey Petrov <andrey.petrov@intel.com> | 2016-06-14 12:03:15 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2016-06-14 23:57:58 +0200 |
commit | 82a612202be6926b0445ba50d3b18c227b07bce8 (patch) | |
tree | 9ca62b4de0557cb57b265e638a1e05999b16c9c7 /src/drivers | |
parent | d450609145a78c2d93707664073466bf29c83426 (diff) | |
download | coreboot-82a612202be6926b0445ba50d3b18c227b07bce8.tar.xz |
drivers/intel/fsp2_0: Add FSP return types for reset
FSP methods may require reset under certain conditions. That is indicated
by returning specific return code. Add the missing return status codes.
BUG=chrome-os-partner:54149
BRANCH=none
TEST=none
Change-Id: I460353c5f835548a98255bd3e11dbfd08260ea52
Signed-off-by: Andrey Petrov <andrey.petrov@intel.com>
Reviewed-on: https://review.coreboot.org/15185
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/intel/fsp2_0/include/fsp/api.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp2_0/include/fsp/api.h b/src/drivers/intel/fsp2_0/include/fsp/api.h index a7b99516af..aa45d97876 100644 --- a/src/drivers/intel/fsp2_0/include/fsp/api.h +++ b/src/drivers/intel/fsp2_0/include/fsp/api.h @@ -21,6 +21,11 @@ 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_INVALID_PARAMETER = 0x80000002, FSP_UNSUPPORTED = 0x80000003, FSP_NOT_READY = 0x80000006, |