vc/amd/opensil: add _POC suffix to SOC_AMD_OPENSIL_GENOA

The openSIL code for the Genoa SoC is only a proof of concept, so change
the name of the Kconfig option to include this code in the build from
SOC_AMD_OPENSIL_GENOA to SOC_AMD_OPENSIL_GENOA_POC to clarify that this
is code that isn't intended or ready to be productized.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: If91cdaa7c324426964bba2de2109b6c38482fab8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79574
Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Felix Held 2023-12-15 11:15:26 +01:00
parent d123f8d871
commit 9314bb6f0a
3 changed files with 6 additions and 5 deletions

View File

@ -43,7 +43,7 @@ config SOC_SPECIFIC_OPTIONS
select SOC_AMD_COMMON_BLOCK_UCODE select SOC_AMD_COMMON_BLOCK_UCODE
select SOC_AMD_COMMON_BLOCK_USE_ESPI select SOC_AMD_COMMON_BLOCK_USE_ESPI
select SOC_AMD_OPENSIL select SOC_AMD_OPENSIL
select SOC_AMD_OPENSIL_GENOA select SOC_AMD_OPENSIL_GENOA_POC
select X86_CUSTOM_BOOTMEDIA select X86_CUSTOM_BOOTMEDIA
config USE_EXP_X86_64_SUPPORT config USE_EXP_X86_64_SUPPORT

View File

@ -2,14 +2,15 @@
if SOC_AMD_OPENSIL if SOC_AMD_OPENSIL
config SOC_AMD_OPENSIL_GENOA config SOC_AMD_OPENSIL_GENOA_POC
bool bool
help help
Select this on SoCs that use the Genoa version of openSIL. Select this on SoCs that use the Genoa proof of concept version of
openSIL.
config AMD_OPENSIL_PATH config AMD_OPENSIL_PATH
string string
default "$(top)/src/vendorcode/amd/opensil/genoa_poc/opensil" if SOC_AMD_OPENSIL_GENOA default "$(top)/src/vendorcode/amd/opensil/genoa_poc/opensil" if SOC_AMD_OPENSIL_GENOA_POC
help help
Set to the path of the openSIL directory containing meson.build. Set to the path of the openSIL directory containing meson.build.
example example

View File

@ -8,7 +8,7 @@ endif
opensil_dir := $(call strip_quotes,$(CONFIG_AMD_OPENSIL_PATH)) opensil_dir := $(call strip_quotes,$(CONFIG_AMD_OPENSIL_PATH))
subdirs-$(CONFIG_SOC_AMD_OPENSIL_GENOA) += genoa_poc subdirs-$(CONFIG_SOC_AMD_OPENSIL_GENOA_POC) += genoa_poc
ifeq ($(CONFIG_ARCH_RAMSTAGE_X86_32),y) ifeq ($(CONFIG_ARCH_RAMSTAGE_X86_32),y)
cpu_family_string="x86" cpu_family_string="x86"