From ee01de8034d2dc7d69013e5183ca2e4f33d8209e Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Wed, 13 Mar 2024 15:47:15 -0600 Subject: soc/amd/phoenix: make openSIL stub optional Convert the 'select SOC_AMD_OPENSIL_STUB' statement to a config option and give it a prompt. This allows for internal development of openSIL and corresponding coreboot source, and controllable using a defconfig. Signed-off-by: Marshall Dawson Change-Id: I2b48e2bbf71cd94ac7ecec13834ba36aa6c241ce Reviewed-on: https://review.coreboot.org/c/coreboot/+/81188 Tested-by: build bot (Jenkins) Reviewed-by: Fred Reitberger Reviewed-by: Varshit Pandya Reviewed-by: Martin L Roth --- src/soc/amd/phoenix/Kconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/soc/amd/phoenix/Kconfig b/src/soc/amd/phoenix/Kconfig index 9d45b76203..75777dc739 100644 --- a/src/soc/amd/phoenix/Kconfig +++ b/src/soc/amd/phoenix/Kconfig @@ -104,7 +104,6 @@ config SOC_AMD_PHOENIX_OPENSIL bool select SOC_AMD_PHOENIX_BASE select SOC_AMD_OPENSIL - select SOC_AMD_OPENSIL_STUB if SOC_AMD_PHOENIX_BASE @@ -468,3 +467,11 @@ config FSP_TEMP_RAM_SIZE The amount of coreboot-allocated heap and stack usage by the FSP. endif # SOC_AMD_PHOENIX_FSP + +if SOC_AMD_PHOENIX_OPENSIL + +config SOC_AMD_OPENSIL_STUB + prompt "Build with openSIL stub" + default y + +endif # SOC_AMD_PHOENIX_OPENSIL -- cgit v1.2.3