aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/common/Kconfig.common
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-11-18 11:25:37 +0100
committerFelix Held <felix-coreboot@felixheld.de>2020-11-19 14:29:14 +0000
commit4e56f75bb5c5aefd8cde011b6b64e454c42df2ce (patch)
treeb1081770aa69646b1043d431bc10ec1c5814be4e /src/soc/amd/common/Kconfig.common
parent1268d4081e7d74e7cf28f1bd67b2fade18704f12 (diff)
soc/amd: rename common Kconfig and use wildcard for SoC-specific Kconfig
By renaming the AMD SOC common Kconfig file the wildcard to source all AMD SoC-specific Kconfig files won't match to it and it can be sourced after all SoC-specific Kconfig files in the sub-directories are sourced. This change allows adding new SoCs without having to edit the soc/amd Kconfig file. Change-Id: Iaaa5aad23eb6364d46b279101f3969db9f182607 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47701 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/soc/amd/common/Kconfig.common')
-rw-r--r--src/soc/amd/common/Kconfig.common14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/soc/amd/common/Kconfig.common b/src/soc/amd/common/Kconfig.common
new file mode 100644
index 0000000000..a0836a3372
--- /dev/null
+++ b/src/soc/amd/common/Kconfig.common
@@ -0,0 +1,14 @@
+config SOC_AMD_COMMON
+ bool
+ help
+ common code blocks for AMD SOCs
+
+if SOC_AMD_COMMON
+
+config SOC_AMD_PI
+ bool
+ default n
+
+source "src/soc/amd/common/block/*/Kconfig"
+
+endif # SOC_AMD_COMMON