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)
This commit is contained in:
Andrey Petrov 2016-06-14 12:03:15 -07:00 committed by Stefan Reinauer
parent d450609145
commit 82a612202b
1 changed files with 5 additions and 0 deletions

View File

@ -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,