From 82a612202be6926b0445ba50d3b18c227b07bce8 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Tue, 14 Jun 2016 12:03:15 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/15185 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/drivers/intel/fsp2_0/include/fsp/api.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/drivers/intel/fsp2_0/include') 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, -- cgit v1.2.3