aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp2_0/Kconfig
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2020-09-20 12:28:45 +0530
committerSubrata Banik <subrata.banik@intel.com>2020-09-21 16:03:28 +0000
commit8f7a2482aec03c44d58149ca3894c1c003ec6247 (patch)
tree53b4b4046378413d23bec7a2f39d98f00228f8e9 /src/drivers/intel/fsp2_0/Kconfig
parent77cc3267fc970c710299a164ecbc471f9287d719 (diff)
drivers/intel/fsp2_0: Add CONFIG_FSP_STATUS_GLOBAL_RESET
Add CONFIG_FSP_STATUS_GLOBAL_RESET Kconfig to get correct FSP global reset type from respective SoC Kconfig. Supported value: 0x40000003-0x40000008, These are defined in FSP EAS v2.0 section 11.2.2 - OEM Status Code Unsupported value: 0xFFFFFFFF Signed-off-by: Subrata Banik <subrata.banik@intel.com> Change-Id: Idc04eb3a931d2d353808d02e62bd436b363600d1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45553 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/drivers/intel/fsp2_0/Kconfig')
-rw-r--r--src/drivers/intel/fsp2_0/Kconfig44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/drivers/intel/fsp2_0/Kconfig b/src/drivers/intel/fsp2_0/Kconfig
index 00bfd67b50..1a1da6c1e9 100644
--- a/src/drivers/intel/fsp2_0/Kconfig
+++ b/src/drivers/intel/fsp2_0/Kconfig
@@ -213,6 +213,50 @@ config FSP_M_ADDR
help
The address FSP-M will be relocated to during build time
+config FSP_STATUS_GLOBAL_RESET_REQUIRED_3
+ bool
+ help
+ FSP Reset Status code used for global reset as per FSP EAS v2.0 section 11.2.2
+
+config FSP_STATUS_GLOBAL_RESET_REQUIRED_4
+ bool
+ help
+ FSP Reset Status code used for global reset as per FSP EAS v2.0 section 11.2.2
+
+config FSP_STATUS_GLOBAL_RESET_REQUIRED_5
+ bool
+ help
+ FSP Reset Status code used for global reset as per FSP EAS v2.0 section 11.2.2
+
+config FSP_STATUS_GLOBAL_RESET_REQUIRED_6
+ bool
+ help
+ FSP Reset Status code used for global reset as per FSP EAS v2.0 section 11.2.2
+
+config FSP_STATUS_GLOBAL_RESET_REQUIRED_7
+ bool
+ help
+ FSP Reset Status code used for global reset as per FSP EAS v2.0 section 11.2.2
+
+config FSP_STATUS_GLOBAL_RESET_REQUIRED_8
+ bool
+ help
+ FSP Reset Status code used for global reset as per FSP EAS v2.0 section 11.2.2
+
+config FSP_STATUS_GLOBAL_RESET
+ hex
+ default 0x40000003 if FSP_STATUS_GLOBAL_RESET_REQUIRED_3
+ default 0x40000004 if FSP_STATUS_GLOBAL_RESET_REQUIRED_4
+ default 0x40000005 if FSP_STATUS_GLOBAL_RESET_REQUIRED_5
+ default 0x40000006 if FSP_STATUS_GLOBAL_RESET_REQUIRED_6
+ default 0x40000007 if FSP_STATUS_GLOBAL_RESET_REQUIRED_7
+ default 0x40000008 if FSP_STATUS_GLOBAL_RESET_REQUIRED_8
+ default 0xffffffff
+ help
+ If global reset is supported by SoC then select the correct status value for global
+ reset type from SoC Kconfig based on available Kconfig options
+ FSP_STATUS_GLOBAL_RESET_REQUIRED_X. Default is unsupported.
+
if FSP_PEIM_TO_PEIM_INTERFACE
source "src/drivers/intel/fsp2_0/ppi/Kconfig"
endif