diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2021-09-23 17:25:22 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-09-24 15:48:24 +0000 |
commit | 5ef58735764c2eb8d3593b61f9dd122f2f3d6e44 (patch) | |
tree | 4af48a378d340b3cdb03d050e205008d244467bd /src/soc/amd | |
parent | c9737c5ce9d5a3c52ae86ea5fe538bec0b305b99 (diff) |
soc/amd/common: factor out FSP-related parts of common Kconfig
TEST=Timeless build for Mandolin results in identical image.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ib2fb6c29b9f42c00f252994ae2a40b7ff668105a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57885
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/common/Kconfig.common | 10 | ||||
-rw-r--r-- | src/soc/amd/common/fsp/Kconfig | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/soc/amd/common/Kconfig.common b/src/soc/amd/common/Kconfig.common index 6711843832..d6f9d01784 100644 --- a/src/soc/amd/common/Kconfig.common +++ b/src/soc/amd/common/Kconfig.common @@ -6,15 +6,7 @@ config SOC_AMD_COMMON if SOC_AMD_COMMON source "src/soc/amd/common/block/*/Kconfig" +source "src/soc/amd/common/fsp/Kconfig" source "src/soc/amd/common/pi/Kconfig" -if PLATFORM_USES_FSP2_0 - -config SOC_AMD_COMMON_FSP_DMI_TABLES - bool - -source "src/soc/amd/common/fsp/*/Kconfig" - -endif # PLATFORM_USES_FSP2_0 - endif # SOC_AMD_COMMON diff --git a/src/soc/amd/common/fsp/Kconfig b/src/soc/amd/common/fsp/Kconfig new file mode 100644 index 0000000000..81fe29809a --- /dev/null +++ b/src/soc/amd/common/fsp/Kconfig @@ -0,0 +1,8 @@ +if PLATFORM_USES_FSP2_0 + +config SOC_AMD_COMMON_FSP_DMI_TABLES + bool + +source "src/soc/amd/common/fsp/*/Kconfig" + +endif # PLATFORM_USES_FSP2_0 |