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 <marshalldawson3rd@gmail.com>
Change-Id: I2b48e2bbf71cd94ac7ecec13834ba36aa6c241ce
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81188
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Marshall Dawson 2024-03-13 15:47:15 -06:00 committed by Martin L Roth
parent 4866712b04
commit ee01de8034

View File

@ -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