src/soc: Get rid of most src/soc/Kconfig files

Most of the src/soc/Kconfig files are only there for AMD and Intel to
load the main SoC Kconfig files before any common files.  That can be
done in src/Kconfig instead.  Moving the loads to the lower level allows
the removal of all but the Intel soc/Kconfig file, which can be removed
in a follow-on patch.

Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I5061191fe23e0b7c745e90874bd7b390806bbcfa
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65327
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
Martin Roth 2022-06-22 20:58:06 -06:00 committed by Martin L Roth
parent 8724501e8f
commit 7e48686535
13 changed files with 3 additions and 28 deletions

View File

@ -560,6 +560,8 @@ menu "Chipset"
comment "SoC"
source "src/soc/*/Kconfig"
source "src/soc/*/*/Kconfig"
source "src/soc/*/*/Kconfig.common"
comment "CPU"
source "src/cpu/Kconfig"
comment "Northbridge"

View File

@ -1,5 +0,0 @@
# Load all chipsets before common
source "src/soc/amd/*/Kconfig"
# Load common defaults last
source "src/soc/amd/common/Kconfig.common"

View File

@ -1,2 +0,0 @@
# Load all chipsets
source "src/soc/cavium/*/Kconfig"

View File

@ -1 +0,0 @@
source "src/soc/example/*/Kconfig"

View File

@ -1,8 +1,4 @@
# Load all chipsets
source "src/soc/intel/*/Kconfig"
# Load common config
source "src/soc/intel/common/Kconfig.common"
# should all probably be moved to soc/intel/common/Kconfig
config INTEL_HAS_TOP_SWAP
bool

View File

@ -1,2 +0,0 @@
# Load all chipsets
source "src/soc/mediatek/*/Kconfig"

View File

@ -1,2 +0,0 @@
# Load all chipsets
source "src/soc/nvidia/*/Kconfig"

View File

@ -1,2 +0,0 @@
# Load all chipsets
source "src/soc/qualcomm/*/Kconfig"

View File

@ -1,2 +0,0 @@
# Load all chipsets
source "src/soc/rockchip/*/Kconfig"

View File

@ -1,2 +0,0 @@
# Load all chipsets
source "src/soc/samsung/*/Kconfig"

View File

@ -1,2 +0,0 @@
# Load all chipsets
source "src/soc/sifive/*/Kconfig"

View File

@ -1 +0,0 @@
source "src/soc/ti/am335x/Kconfig"

View File

@ -1,2 +0,0 @@
# Load all chipsets
source "src/soc/ucb/*/Kconfig"