summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-04 01:58:28 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-07 17:40:28 +0200
commita48ca841a2f2a24d53cc47d54453d60d15cbfadc (patch)
treeba0e44280eac0dc1ae546922251720e26c500791 /src
parentf34ea5f6609c23db33b6a6b7c31c67c6214efae4 (diff)
downloadcoreboot-a48ca841a2f2a24d53cc47d54453d60d15cbfadc.tar.xz
kconfig: drop intermittend forwarder files
With kconfig understanding wildcards, we don't need Kconfig files that just include other Kconfig files anymore. Change-Id: I7584e675f78fcb4ff1fdb0731e340533c5bc040d Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/9298 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/Kconfig55
-rw-r--r--src/arch/arm/Kconfig4
-rw-r--r--src/arch/arm64/Kconfig4
-rw-r--r--src/arch/mips/Kconfig4
-rw-r--r--src/arch/riscv/Kconfig4
-rw-r--r--src/arch/x86/Kconfig5
-rw-r--r--src/cpu/Kconfig12
-rw-r--r--src/cpu/x86/Kconfig4
-rw-r--r--src/drivers/Kconfig45
-rw-r--r--src/drivers/pc80/Kconfig4
-rw-r--r--src/drivers/ricoh/Kconfig1
-rw-r--r--src/ec/Kconfig7
-rw-r--r--src/ec/compal/Kconfig1
-rw-r--r--src/ec/google/Kconfig1
-rw-r--r--src/ec/kontron/Kconfig1
-rw-r--r--src/ec/lenovo/Kconfig2
-rw-r--r--src/ec/quanta/Kconfig2
-rw-r--r--src/ec/smsc/Kconfig1
-rw-r--r--src/northbridge/Kconfig5
-rw-r--r--src/northbridge/amd/Kconfig7
-rw-r--r--src/northbridge/amd/agesa/Kconfig8
-rw-r--r--src/northbridge/dmp/Kconfig20
-rw-r--r--src/northbridge/intel/Kconfig17
-rw-r--r--src/northbridge/rdc/Kconfig1
-rw-r--r--src/northbridge/via/Kconfig4
-rw-r--r--src/soc/Kconfig7
-rw-r--r--src/soc/imgtec/Kconfig1
-rw-r--r--src/soc/intel/Kconfig4
-rw-r--r--src/soc/nvidia/Kconfig2
-rw-r--r--src/soc/qualcomm/Kconfig9
-rw-r--r--src/soc/qualcomm/ipq806x/Kconfig8
-rw-r--r--src/soc/rockchip/Kconfig20
-rw-r--r--src/soc/samsung/Kconfig2
-rw-r--r--src/soc/ucb/Kconfig1
-rw-r--r--src/southbridge/Kconfig10
-rw-r--r--src/southbridge/amd/Kconfig15
-rw-r--r--src/southbridge/broadcom/Kconfig3
-rw-r--r--src/southbridge/dmp/Kconfig20
-rw-r--r--src/southbridge/intel/Kconfig18
-rw-r--r--src/southbridge/nvidia/Kconfig2
-rw-r--r--src/southbridge/rdc/Kconfig1
-rw-r--r--src/southbridge/ricoh/Kconfig1
-rw-r--r--src/southbridge/sis/Kconfig1
-rw-r--r--src/southbridge/ti/Kconfig22
-rw-r--r--src/southbridge/via/Kconfig2
-rw-r--r--src/superio/Kconfig32
-rw-r--r--src/superio/smsc/Kconfig3
47 files changed, 53 insertions, 350 deletions
diff --git a/src/Kconfig b/src/Kconfig
index aa4d6eebeb..cc87aec95a 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -255,39 +255,11 @@ config UPDATE_IMAGE
endmenu
-source src/mainboard/Kconfig
+source "src/mainboard/Kconfig"
-# This option is used to set the architecture of a mainboard to X86.
-# It is usually set in mainboard/*/Kconfig.
-config ARCH_X86
- bool
- default n
- select PCI
-
-config ARCH_ARM
- bool
- default n
-
-config ARCH_ARM64
- bool
- default n
-
-config ARCH_RISCV
- bool
- default n
- select ANY_TOOLCHAIN
-
-config ARCH_MIPS
- bool
- default n
-
-source src/arch/x86/Kconfig
-source src/arch/arm/Kconfig
-source src/arch/arm64/Kconfig
-source src/arch/riscv/Kconfig
-source src/arch/mips/Kconfig
+source "src/arch/*/Kconfig"
-source src/vendorcode/Kconfig
+source "src/vendorcode/*/Kconfig"
config SYSTEM_TYPE_LAPTOP
default n
@@ -296,18 +268,19 @@ config SYSTEM_TYPE_LAPTOP
menu "Chipset"
comment "CPU"
-source src/cpu/Kconfig
+source "src/cpu/Kconfig"
comment "Northbridge"
-source src/northbridge/Kconfig
+source "src/northbridge/*/*/Kconfig"
comment "Southbridge"
-source src/southbridge/Kconfig
+source "src/southbridge/*/*/Kconfig"
comment "Super I/O"
-source src/superio/Kconfig
+source "src/superio/*/Kconfig"
comment "Embedded Controllers"
-source src/ec/Kconfig
+source "src/ec/acpi/Kconfig"
+source "src/ec/*/*/Kconfig"
comment "SoC"
-source src/soc/Kconfig
-source src/drivers/intel/fsp/Kconfig
+source "src/soc/*/*/Kconfig"
+source "src/drivers/intel/fsp/Kconfig"
endmenu
@@ -319,10 +292,10 @@ config MAINBOARD_HAS_BOOTBLOCK_INIT
bool
default n
-source src/device/Kconfig
+source "src/device/Kconfig"
menu "Generic Drivers"
-source src/drivers/Kconfig
+source "src/drivers/*/Kconfig"
endmenu
config TPM
@@ -365,7 +338,7 @@ config BOOTMODE_STRAPS
bool
default n
-source src/console/Kconfig
+source "src/console/Kconfig"
config HAVE_ACPI_RESUME
bool
diff --git a/src/arch/arm/Kconfig b/src/arch/arm/Kconfig
index 77ed41aeeb..2499d2d075 100644
--- a/src/arch/arm/Kconfig
+++ b/src/arch/arm/Kconfig
@@ -1,3 +1,7 @@
+config ARCH_ARM
+ bool
+ default n
+
config ARCH_BOOTBLOCK_ARM
bool
default n
diff --git a/src/arch/arm64/Kconfig b/src/arch/arm64/Kconfig
index 16830bc155..47e7b67456 100644
--- a/src/arch/arm64/Kconfig
+++ b/src/arch/arm64/Kconfig
@@ -1,3 +1,7 @@
+config ARCH_ARM64
+ bool
+ default n
+
config ARCH_BOOTBLOCK_ARM64
bool
default n
diff --git a/src/arch/mips/Kconfig b/src/arch/mips/Kconfig
index 5c0fc5c0e8..10349f2d1b 100644
--- a/src/arch/mips/Kconfig
+++ b/src/arch/mips/Kconfig
@@ -19,6 +19,10 @@
# MA 02110-1301 USA
#
+config ARCH_MIPS
+ bool
+ default n
+
config ARCH_BOOTBLOCK_MIPS
bool
default n
diff --git a/src/arch/riscv/Kconfig b/src/arch/riscv/Kconfig
index f2dc41eae1..5d7b5c269b 100644
--- a/src/arch/riscv/Kconfig
+++ b/src/arch/riscv/Kconfig
@@ -1,3 +1,7 @@
+config ARCH_RISCV
+ bool
+ default n
+
config ARCH_BOOTBLOCK_RISCV
bool
default n
diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index 93474a8a3f..f7da89a5b6 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -13,6 +13,11 @@
## GNU General Public License for more details.
##
+config ARCH_X86
+ bool
+ default n
+ select PCI
+
config ARCH_BOOTBLOCK_X86_32
bool
default n
diff --git a/src/cpu/Kconfig b/src/cpu/Kconfig
index f6f064767f..c8dc136d38 100644
--- a/src/cpu/Kconfig
+++ b/src/cpu/Kconfig
@@ -2,17 +2,7 @@
# The if controls how the evaluation occurs.
# (See also src/Kconfig)
-source src/cpu/allwinner/Kconfig
-source src/cpu/armltd/Kconfig
-source src/cpu/ti/Kconfig
-
-source src/cpu/amd/Kconfig
-source src/cpu/dmp/Kconfig
-source src/cpu/intel/Kconfig
-source src/cpu/mips/Kconfig
-source src/cpu/via/Kconfig
-source src/cpu/qemu-x86/Kconfig
-source src/cpu/x86/Kconfig
+source "src/cpu/*/Kconfig"
if ARCH_X86
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig
index 1e15166328..41c22886c5 100644
--- a/src/cpu/x86/Kconfig
+++ b/src/cpu/x86/Kconfig
@@ -80,10 +80,6 @@ config SMM_TSEG
bool
default n
-config SMM_TSEG_SIZE
- hex
- default 0
-
config SMM_MODULES
bool
default n
diff --git a/src/drivers/Kconfig b/src/drivers/Kconfig
deleted file mode 100644
index 435ed0e3bf..0000000000
--- a/src/drivers/Kconfig
+++ /dev/null
@@ -1,45 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2010 Rudolf Marek <r.marek@assembler.cz>
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-source src/drivers/ams/Kconfig
-source src/drivers/ati/Kconfig
-source src/drivers/dec/Kconfig
-source src/drivers/elog/Kconfig
-source src/drivers/emulation/Kconfig
-source src/drivers/generic/Kconfig
-source src/drivers/gic/Kconfig
-source src/drivers/i2c/Kconfig
-source src/drivers/ics/Kconfig
-source src/drivers/intel/Kconfig
-source src/drivers/ipmi/Kconfig
-source src/drivers/lenovo/Kconfig
-source src/drivers/maxim/Kconfig
-source src/drivers/parade/Kconfig
-if PC80_SYSTEM
-source src/drivers/pc80/Kconfig
-endif
-source src/drivers/sil/Kconfig
-source src/drivers/spi/Kconfig
-source src/drivers/ti/Kconfig
-source src/drivers/trident/Kconfig
-source src/drivers/uart/Kconfig
-source src/drivers/usb/Kconfig
-source src/drivers/xgi/Kconfig
-source src/drivers/xpowers/Kconfig
-source src/drivers/ricoh/rce822/Kconfig
diff --git a/src/drivers/pc80/Kconfig b/src/drivers/pc80/Kconfig
index f8ac5c5a6a..f6da88c03c 100644
--- a/src/drivers/pc80/Kconfig
+++ b/src/drivers/pc80/Kconfig
@@ -1,5 +1,7 @@
# Might be removed (alongside with the PS/2 init code) once payloads
# reliably support PS/2 init themselves.
+if PC80_SYSTEM
+
config DRIVERS_PS2_KEYBOARD
bool "PS/2 keyboard init"
default y
@@ -26,3 +28,5 @@ config LPC_TPM
config DRIVERS_MC146818
bool
default y if ARCH_X86
+
+endif
diff --git a/src/drivers/ricoh/Kconfig b/src/drivers/ricoh/Kconfig
new file mode 100644
index 0000000000..6b0514297e
--- /dev/null
+++ b/src/drivers/ricoh/Kconfig
@@ -0,0 +1 @@
+source src/drivers/ricoh/rce822/Kconfig
diff --git a/src/ec/Kconfig b/src/ec/Kconfig
deleted file mode 100644
index 98aeb9c7a9..0000000000
--- a/src/ec/Kconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-source src/ec/acpi/Kconfig
-source src/ec/compal/Kconfig
-source src/ec/google/Kconfig
-source src/ec/kontron/Kconfig
-source src/ec/lenovo/Kconfig
-source src/ec/smsc/Kconfig
-source src/ec/quanta/Kconfig
diff --git a/src/ec/compal/Kconfig b/src/ec/compal/Kconfig
deleted file mode 100644
index 5b7899aee5..0000000000
--- a/src/ec/compal/Kconfig
+++ /dev/null
@@ -1 +0,0 @@
-source src/ec/compal/ene932/Kconfig
diff --git a/src/ec/google/Kconfig b/src/ec/google/Kconfig
deleted file mode 100644
index f83741ecc1..0000000000
--- a/src/ec/google/Kconfig
+++ /dev/null
@@ -1 +0,0 @@
-source src/ec/google/chromeec/Kconfig
diff --git a/src/ec/kontron/Kconfig b/src/ec/kontron/Kconfig
deleted file mode 100644
index 747a667ef5..0000000000
--- a/src/ec/kontron/Kconfig
+++ /dev/null
@@ -1 +0,0 @@
-source src/ec/kontron/it8516e/Kconfig
diff --git a/src/ec/lenovo/Kconfig b/src/ec/lenovo/Kconfig
deleted file mode 100644
index 73f11caa38..0000000000
--- a/src/ec/lenovo/Kconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-source src/ec/lenovo/h8/Kconfig
-source src/ec/lenovo/pmh7/Kconfig
diff --git a/src/ec/quanta/Kconfig b/src/ec/quanta/Kconfig
deleted file mode 100644
index 00c3dbf10a..0000000000
--- a/src/ec/quanta/Kconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-source src/ec/quanta/ene_kb3940q/Kconfig
-source src/ec/quanta/it8518/Kconfig
diff --git a/src/ec/smsc/Kconfig b/src/ec/smsc/Kconfig
deleted file mode 100644
index afc6e4b95e..0000000000
--- a/src/ec/smsc/Kconfig
+++ /dev/null
@@ -1 +0,0 @@
-source src/ec/smsc/mec1308/Kconfig
diff --git a/src/northbridge/Kconfig b/src/northbridge/Kconfig
deleted file mode 100644
index 0ac09a6d4f..0000000000
--- a/src/northbridge/Kconfig
+++ /dev/null
@@ -1,5 +0,0 @@
-source src/northbridge/amd/Kconfig
-source src/northbridge/dmp/Kconfig
-source src/northbridge/intel/Kconfig
-source src/northbridge/rdc/Kconfig
-source src/northbridge/via/Kconfig
diff --git a/src/northbridge/amd/Kconfig b/src/northbridge/amd/Kconfig
deleted file mode 100644
index 4bc6e49b70..0000000000
--- a/src/northbridge/amd/Kconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-source src/northbridge/amd/amdk8/Kconfig
-source src/northbridge/amd/gx2/Kconfig
-source src/northbridge/amd/amdfam10/Kconfig
-source src/northbridge/amd/lx/Kconfig
-source src/northbridge/amd/agesa/Kconfig
-source src/northbridge/amd/cimx/Kconfig
-source src/northbridge/amd/pi/Kconfig \ No newline at end of file
diff --git a/src/northbridge/amd/agesa/Kconfig b/src/northbridge/amd/agesa/Kconfig
index 8fd8bfd192..430d4babcd 100644
--- a/src/northbridge/amd/agesa/Kconfig
+++ b/src/northbridge/amd/agesa/Kconfig
@@ -32,13 +32,7 @@ config S3_VGA_ROM_RUN
bool
default n
-source src/northbridge/amd/agesa/family10/Kconfig
-source src/northbridge/amd/agesa/family12/Kconfig
-source src/northbridge/amd/agesa/family14/Kconfig
-source src/northbridge/amd/agesa/family15/Kconfig
-source src/northbridge/amd/agesa/family15tn/Kconfig
-source src/northbridge/amd/agesa/family15rl/Kconfig
-source src/northbridge/amd/agesa/family16kb/Kconfig
+source "src/northbridge/amd/agesa/*/Kconfig"
# TODO: Reservation for heap seems excessive
config HEAP_SIZE
diff --git a/src/northbridge/dmp/Kconfig b/src/northbridge/dmp/Kconfig
deleted file mode 100644
index a69d1d9633..0000000000
--- a/src/northbridge/dmp/Kconfig
+++ /dev/null
@@ -1,20 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2013 DMP Electronics Inc.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-source src/northbridge/dmp/vortex86ex/Kconfig
diff --git a/src/northbridge/intel/Kconfig b/src/northbridge/intel/Kconfig
deleted file mode 100644
index cf7264b7dc..0000000000
--- a/src/northbridge/intel/Kconfig
+++ /dev/null
@@ -1,17 +0,0 @@
-source src/northbridge/intel/e7501/Kconfig
-source src/northbridge/intel/e7505/Kconfig
-source src/northbridge/intel/i3100/Kconfig
-source src/northbridge/intel/i440bx/Kconfig
-source src/northbridge/intel/i440lx/Kconfig
-source src/northbridge/intel/i82810/Kconfig
-source src/northbridge/intel/i82830/Kconfig
-source src/northbridge/intel/i855/Kconfig
-source src/northbridge/intel/i945/Kconfig
-source src/northbridge/intel/gm45/Kconfig
-source src/northbridge/intel/sch/Kconfig
-source src/northbridge/intel/i5000/Kconfig
-source src/northbridge/intel/nehalem/Kconfig
-source src/northbridge/intel/sandybridge/Kconfig
-source src/northbridge/intel/haswell/Kconfig
-source src/northbridge/intel/fsp_sandybridge/Kconfig
-source src/northbridge/intel/fsp_rangeley/Kconfig
diff --git a/src/northbridge/rdc/Kconfig b/src/northbridge/rdc/Kconfig
deleted file mode 100644
index 73ac740abd..0000000000
--- a/src/northbridge/rdc/Kconfig
+++ /dev/null
@@ -1 +0,0 @@
-source src/northbridge/rdc/r8610/Kconfig
diff --git a/src/northbridge/via/Kconfig b/src/northbridge/via/Kconfig
deleted file mode 100644
index 7b9fa1da9d..0000000000
--- a/src/northbridge/via/Kconfig
+++ /dev/null
@@ -1,4 +0,0 @@
-source src/northbridge/via/cn700/Kconfig
-source src/northbridge/via/cx700/Kconfig
-source src/northbridge/via/vx800/Kconfig
-source src/northbridge/via/vx900/Kconfig
diff --git a/src/soc/Kconfig b/src/soc/Kconfig
deleted file mode 100644
index 43c2010108..0000000000
--- a/src/soc/Kconfig
+++ /dev/null
@@ -1,7 +0,0 @@
-source src/soc/imgtec/Kconfig
-source src/soc/intel/Kconfig
-source src/soc/nvidia/Kconfig
-source src/soc/qualcomm/Kconfig
-source src/soc/rockchip/Kconfig
-source src/soc/samsung/Kconfig
-source src/soc/ucb/Kconfig
diff --git a/src/soc/imgtec/Kconfig b/src/soc/imgtec/Kconfig
deleted file mode 100644
index df51850f70..0000000000
--- a/src/soc/imgtec/Kconfig
+++ /dev/null
@@ -1 +0,0 @@
-source src/soc/imgtec/pistachio/Kconfig
diff --git a/src/soc/intel/Kconfig b/src/soc/intel/Kconfig
deleted file mode 100644
index 808f6b86fe..0000000000
--- a/src/soc/intel/Kconfig
+++ /dev/null
@@ -1,4 +0,0 @@
-source src/soc/intel/baytrail/Kconfig
-source src/soc/intel/broadwell/Kconfig
-source src/soc/intel/fsp_baytrail/Kconfig
-source src/soc/intel/common/Kconfig
diff --git a/src/soc/nvidia/Kconfig b/src/soc/nvidia/Kconfig
deleted file mode 100644
index cb1f468d5e..0000000000
--- a/src/soc/nvidia/Kconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-source src/soc/nvidia/tegra124/Kconfig
-source src/soc/nvidia/tegra132/Kconfig
diff --git a/src/soc/qualcomm/Kconfig b/src/soc/qualcomm/Kconfig
deleted file mode 100644
index 918093b7d8..0000000000
--- a/src/soc/qualcomm/Kconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-source src/soc/qualcomm/ipq806x/Kconfig
-
-config CBFS_SIZE
- hex "Size of CBFS filesystem in ROM"
- default ROM_SIZE
- help
- CBFS size needs to match the size of memory allocated to the
- coreboot blob elsewhere in the system. Make sure this config option
- is fine tuned in the board config file.
diff --git a/src/soc/qualcomm/ipq806x/Kconfig b/src/soc/qualcomm/ipq806x/Kconfig
index 092951d2d2..9e6a053736 100644
--- a/src/soc/qualcomm/ipq806x/Kconfig
+++ b/src/soc/qualcomm/ipq806x/Kconfig
@@ -13,6 +13,14 @@ config SOC_QC_IPQ806X
if SOC_QC_IPQ806X
+config CBFS_SIZE
+ hex "Size of CBFS filesystem in ROM"
+ default ROM_SIZE
+ help
+ CBFS size needs to match the size of memory allocated to the
+ coreboot blob elsewhere in the system. Make sure this config option
+ is fine tuned in the board config file.
+
config BOOTBLOCK_ROM_OFFSET
hex
default 0x0
diff --git a/src/soc/rockchip/Kconfig b/src/soc/rockchip/Kconfig
deleted file mode 100644
index b041f89f8b..0000000000
--- a/src/soc/rockchip/Kconfig
+++ /dev/null
@@ -1,20 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright 2014 Rockchip Inc.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-source src/soc/rockchip/rk3288/Kconfig
diff --git a/src/soc/samsung/Kconfig b/src/soc/samsung/Kconfig
deleted file mode 100644
index 9241d27bbf..0000000000
--- a/src/soc/samsung/Kconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-source src/soc/samsung/exynos5250/Kconfig
-source src/soc/samsung/exynos5420/Kconfig
diff --git a/src/soc/ucb/Kconfig b/src/soc/ucb/Kconfig
deleted file mode 100644
index 7af50cb87a..0000000000
--- a/src/soc/ucb/Kconfig
+++ /dev/null
@@ -1 +0,0 @@
-source src/soc/ucb/riscv/Kconfig
diff --git a/src/southbridge/Kconfig b/src/southbridge/Kconfig
deleted file mode 100644
index 84b5f8dc48..0000000000
--- a/src/southbridge/Kconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-source src/southbridge/amd/Kconfig
-source src/southbridge/broadcom/Kconfig
-source src/southbridge/dmp/Kconfig
-source src/southbridge/intel/Kconfig
-source src/southbridge/nvidia/Kconfig
-source src/southbridge/rdc/Kconfig
-source src/southbridge/ricoh/Kconfig
-source src/southbridge/sis/Kconfig
-source src/southbridge/ti/Kconfig
-source src/southbridge/via/Kconfig
diff --git a/src/southbridge/amd/Kconfig b/src/southbridge/amd/Kconfig
deleted file mode 100644
index feb9006a03..0000000000
--- a/src/southbridge/amd/Kconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-source src/southbridge/amd/amd8111/Kconfig
-source src/southbridge/amd/amd8131/Kconfig
-source src/southbridge/amd/cs5536/Kconfig
-source src/southbridge/amd/amd8132/Kconfig
-source src/southbridge/amd/amd8151/Kconfig
-source src/southbridge/amd/cs5535/Kconfig
-source src/southbridge/amd/rs690/Kconfig
-source src/southbridge/amd/sb600/Kconfig
-source src/southbridge/amd/rs780/Kconfig
-source src/southbridge/amd/sb700/Kconfig
-source src/southbridge/amd/sb800/Kconfig
-source src/southbridge/amd/cimx/Kconfig
-source src/southbridge/amd/agesa/Kconfig
-source src/southbridge/amd/pi/Kconfig
-source src/southbridge/amd/sr5650/Kconfig
diff --git a/src/southbridge/broadcom/Kconfig b/src/southbridge/broadcom/Kconfig
deleted file mode 100644
index 38ff222a08..0000000000
--- a/src/southbridge/broadcom/Kconfig
+++ /dev/null
@@ -1,3 +0,0 @@
-source src/southbridge/broadcom/bcm21000/Kconfig
-source src/southbridge/broadcom/bcm5780/Kconfig
-source src/southbridge/broadcom/bcm5785/Kconfig
diff --git a/src/southbridge/dmp/Kconfig b/src/southbridge/dmp/Kconfig
deleted file mode 100644
index 1c5b8c79dc..0000000000
--- a/src/southbridge/dmp/Kconfig
+++ /dev/null
@@ -1,20 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2013 DMP Electronics Inc.
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-source src/southbridge/dmp/vortex86ex/Kconfig
diff --git a/src/southbridge/intel/Kconfig b/src/southbridge/intel/Kconfig
deleted file mode 100644
index 426ac0bb9d..0000000000
--- a/src/southbridge/intel/Kconfig
+++ /dev/null
@@ -1,18 +0,0 @@
-source src/southbridge/intel/common/Kconfig
-source src/southbridge/intel/esb6300/Kconfig
-source src/southbridge/intel/i3100/Kconfig
-source src/southbridge/intel/i82371eb/Kconfig
-source src/southbridge/intel/i82801ax/Kconfig
-source src/southbridge/intel/i82801bx/Kconfig
-source src/southbridge/intel/i82801cx/Kconfig
-source src/southbridge/intel/i82801dx/Kconfig
-source src/southbridge/intel/i82801ex/Kconfig
-source src/southbridge/intel/i82801gx/Kconfig
-source src/southbridge/intel/i82801ix/Kconfig
-source src/southbridge/intel/i82870/Kconfig
-source src/southbridge/intel/sch/Kconfig
-source src/southbridge/intel/bd82x6x/Kconfig
-source src/southbridge/intel/ibexpeak/Kconfig
-source src/southbridge/intel/lynxpoint/Kconfig
-source src/southbridge/intel/fsp_bd82x6x/Kconfig
-source src/southbridge/intel/fsp_rangeley/Kconfig
diff --git a/src/southbridge/nvidia/Kconfig b/src/southbridge/nvidia/Kconfig
deleted file mode 100644
index 59fc8ed6a6..0000000000
--- a/src/southbridge/nvidia/Kconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-source src/southbridge/nvidia/ck804/Kconfig
-source src/southbridge/nvidia/mcp55/Kconfig
diff --git a/src/southbridge/rdc/Kconfig b/src/southbridge/rdc/Kconfig
deleted file mode 100644
index 50ef4755c2..0000000000
--- a/src/southbridge/rdc/Kconfig
+++ /dev/null
@@ -1 +0,0 @@
-source src/southbridge/rdc/r8610/Kconfig
diff --git a/src/southbridge/ricoh/Kconfig b/src/southbridge/ricoh/Kconfig
deleted file mode 100644
index 2d25e9e2d6..0000000000
--- a/src/southbridge/ricoh/Kconfig
+++ /dev/null
@@ -1 +0,0 @@
-source src/southbridge/ricoh/rl5c476/Kconfig
diff --git a/src/southbridge/sis/Kconfig b/src/southbridge/sis/Kconfig
deleted file mode 100644
index 4d113841e2..0000000000
--- a/src/southbridge/sis/Kconfig
+++ /dev/null
@@ -1 +0,0 @@
-source src/southbridge/sis/sis966/Kconfig
diff --git a/src/southbridge/ti/Kconfig b/src/southbridge/ti/Kconfig
deleted file mode 100644
index 7092685098..0000000000
--- a/src/southbridge/ti/Kconfig
+++ /dev/null
@@ -1,22 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2008-2009 coresystems GmbH
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-source src/southbridge/ti/pci7420/Kconfig
-source src/southbridge/ti/pcixx12/Kconfig
-source src/southbridge/ti/pci1x2x/Kconfig
diff --git a/src/southbridge/via/Kconfig b/src/southbridge/via/Kconfig
deleted file mode 100644
index 75a1395e8a..0000000000
--- a/src/southbridge/via/Kconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-source src/southbridge/via/k8t890/Kconfig
-source src/southbridge/via/vt8237r/Kconfig
diff --git a/src/superio/Kconfig b/src/superio/Kconfig
deleted file mode 100644
index 32e60bb367..0000000000
--- a/src/superio/Kconfig
+++ /dev/null
@@ -1,32 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-##
-## This program is free software; you can redistribute it and/or modify
-## it under the terms of the GNU General Public License as published by
-## the Free Software Foundation; version 2 of the License.
-##
-## This program is distributed in the hope that it will be useful,
-## but WITHOUT ANY WARRANTY; without even the implied warranty of
-## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-## GNU General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-##
-
-config SUPERIO_WANTS_14MHZ_CLOCK
- bool
-
-source src/superio/fintek/Kconfig
-source src/superio/intel/Kconfig
-source src/superio/ite/Kconfig
-source src/superio/nsc/Kconfig
-source src/superio/nuvoton/Kconfig
-source src/superio/renesas/Kconfig
-source src/superio/serverengines/Kconfig
-source src/superio/smsc/Kconfig
-source src/superio/via/Kconfig
-source src/superio/winbond/Kconfig
diff --git a/src/superio/smsc/Kconfig b/src/superio/smsc/Kconfig
index 34bc60cf1d..7a58cbb0c4 100644
--- a/src/superio/smsc/Kconfig
+++ b/src/superio/smsc/Kconfig
@@ -18,6 +18,9 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+config SUPERIO_WANTS_14MHZ_CLOCK
+ bool
+
config SUPERIO_SMSC_FDC37M60X
bool
config SUPERIO_SMSC_FDC37N972