summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Petrov <andrey.petrov@intel.com>2016-06-14 12:03:15 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-06-14 23:57:58 +0200
commit82a612202be6926b0445ba50d3b18c227b07bce8 (patch)
tree9ca62b4de0557cb57b265e638a1e05999b16c9c7
parentd450609145a78c2d93707664073466bf29c83426 (diff)
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)
-rw-r--r--src/drivers/intel/fsp2_0/include/fsp/api.h5
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,