diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2024-03-13 15:47:15 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2024-03-17 16:35:56 +0000 |
commit | ee01de8034d2dc7d69013e5183ca2e4f33d8209e (patch) | |
tree | c6b543cfd5905809c51b8da6f3fe5d3bb09a9af0 /src/soc/amd/phoenix | |
parent | 4866712b04a4fc6f1a72cd668de0ac91fc9a2a74 (diff) |
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>
Diffstat (limited to 'src/soc/amd/phoenix')
-rw-r--r-- | src/soc/amd/phoenix/Kconfig | 9 |
1 files changed, 8 insertions, 1 deletions
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 |