summaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-02-27 18:32:39 +0530
committerPatrick Georgi <pgeorgi@google.com>2019-03-01 10:01:38 +0000
commitc3d03b3197dd5c582c18bcf7b9ececde130d07b3 (patch)
tree650b1b39fec239905762866d0bbe89f1c8671d16 /src/drivers/intel/fsp2_0
parent45e295b973a8ddff425d41f78c8fa8ccf6dc237f (diff)
drivers/intel/fsp2_0: Add more EFI return status into FSP2.0 driver
This patch adds few more required EFI return status into FSP2.0 drivers so that coreboot code can make use of those. Change-Id: I9f040e7b9232b05dfc34971afa190cc3cbd7192a Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/31647 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/drivers/intel/fsp2_0')
-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 5ed3801851..b905b6908b 100644
--- a/src/drivers/intel/fsp2_0/include/fsp/api.h
+++ b/src/drivers/intel/fsp2_0/include/fsp/api.h
@@ -19,6 +19,11 @@
#include <soc/intel/common/mma.h>
#define FSP_SUCCESS EFI_SUCCESS
+#define FSP_INVALID_PARAMETER EFI_INVALID_PARAMETER
+#define FSP_DEVICE_ERROR EFI_DEVICE_ERROR
+#define FSP_NOT_FOUND EFI_NOT_FOUND
+#define FSP_NOT_STARTED EFI_NOT_STARTED
+#define FSP_UNSUPPORTED EFI_UNSUPPORTED
enum fsp_boot_mode {
FSP_BOOT_WITH_FULL_CONFIGURATION = 0x00,