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>
This commit is contained in:
parent
77cc3267fc
commit
8f7a2482ae
|
@ -213,6 +213,50 @@ config FSP_M_ADDR
|
||||||
help
|
help
|
||||||
The address FSP-M will be relocated to during build time
|
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
|
if FSP_PEIM_TO_PEIM_INTERFACE
|
||||||
source "src/drivers/intel/fsp2_0/ppi/Kconfig"
|
source "src/drivers/intel/fsp2_0/ppi/Kconfig"
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue