summaryrefslogtreecommitdiff
path: root/src/soc/amd
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
parent1268d4081e7d74e7cf28f1bd67b2fade18704f12 (diff)
downloadcoreboot-4e56f75bb5c5aefd8cde011b6b64e454c42df2ce.tar.xz
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')
-rw-r--r--src/soc/amd/Kconfig5
-rw-r--r--src/soc/amd/common/Kconfig.common (renamed from src/soc/amd/common/Kconfig)0
2 files changed, 2 insertions, 3 deletions
diff --git a/src/soc/amd/Kconfig b/src/soc/amd/Kconfig
index 7c08f031b0..77eac6ba5a 100644
--- a/src/soc/amd/Kconfig
+++ b/src/soc/amd/Kconfig
@@ -1,6 +1,5 @@
# Load all chipsets before common
-source "src/soc/amd/picasso/Kconfig"
-source "src/soc/amd/stoneyridge/Kconfig"
+source "src/soc/amd/*/Kconfig"
# Load common defaults last
-source "src/soc/amd/common/Kconfig"
+source "src/soc/amd/common/Kconfig.common"
diff --git a/src/soc/amd/common/Kconfig b/src/soc/amd/common/Kconfig.common
index a0836a3372..a0836a3372 100644
--- a/src/soc/amd/common/Kconfig
+++ b/src/soc/amd/common/Kconfig.common