Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9310
-gerrit
commit 8a7585e0a770eecce92603387847f6db714014f0
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Mon Apr 6 01:22:36 2015 +0200
kconfig: lxdialog: fix spelling
Signed-off-by: Brian Norris <computersforpeace(a)gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998(a)free.fr>
Signed-off-by: Michal Marek <mmarek(a)suse.cz>
Change-Id: I033338a4a3f3a20944feace46b679c85ee32d14e
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
util/kconfig/lxdialog/dialog.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/kconfig/lxdialog/dialog.h b/util/kconfig/lxdialog/dialog.h
index b4343d3..fcffd5b 100644
--- a/util/kconfig/lxdialog/dialog.h
+++ b/util/kconfig/lxdialog/dialog.h
@@ -170,7 +170,7 @@ char item_tag(void);
/* item list manipulation for lxdialog use */
#define MAXITEMSTR 200
struct dialog_item {
- char str[MAXITEMSTR]; /* promtp displayed */
+ char str[MAXITEMSTR]; /* prompt displayed */
char tag;
void *data; /* pointer to menu item - used by menubox+checklist */
int selected; /* Set to 1 by dialog_*() function if selected. */
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9309
-gerrit
commit db80d46adcc31fbd44941227bd57dc7ed66e9b97
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Mon Apr 6 01:14:21 2015 +0200
kconfig: use va_end to match corresponding va_start
Although on some systems va_end is a no-op, it is good practice
to use va_end, especially since the manual states:
"Each invocation of va_start() must be matched by a corresponding
invocation of va_end() in the same function."
Signed-off-by: Colin Ian King <colin.king(a)canonical.com>
Signed-off-by: Michal Marek <mmarek(a)suse.cz>
Change-Id: Ia08a57c37a6294e002cb6ce4c0a010c0d2edf973
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
util/kconfig/confdata.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/kconfig/confdata.c b/util/kconfig/confdata.c
index 149e27a..235debf 100644
--- a/util/kconfig/confdata.c
+++ b/util/kconfig/confdata.c
@@ -59,6 +59,7 @@ static void conf_message(const char *fmt, ...)
va_start(ap, fmt);
if (conf_message_callback)
conf_message_callback(fmt, ap);
+ va_end(ap);
}
const char *conf_get_configname(void)
Stefan Tauner (stefan.tauner(a)gmx.at) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9307
-gerrit
commit bfe1b412784225ed561e84421cd597959810bf59
Author: Stefan Tauner <stefan.tauner(a)alumni.tuwien.ac.at>
Date: Sun Apr 5 23:13:53 2015 +0200
nvramtool: fix getopt handling with unsigned char
make failed while "OPTION option_table.h" by printing nvramtool's
usage message when crosscompiling coreboot on the BBB.
The reason is the usage of char for the return value of getopt instead
of int and comparing it to -1... while char might be unsigned as it
apparently is on ARM/the BBB(?).
Change-Id: Ib20fd5ef174d484bbb35f80150b8f898d95d0fe4
Signed-off-by: Stefan Tauner <stefan.tauner(a)gmx.at>
---
util/nvramtool/cli/opts.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/util/nvramtool/cli/opts.c b/util/nvramtool/cli/opts.c
index 8e920e8..a128c0b 100644
--- a/util/nvramtool/cli/opts.c
+++ b/util/nvramtool/cli/opts.c
@@ -51,8 +51,7 @@ static const char getopt_string[] = "-ab:B:c::C:dD:e:hH:iL:l::np:r:tvw:xX:y:Y";
void parse_nvramtool_args(int argc, char *argv[])
{
nvramtool_op_modifier_info_t *mod_info;
- int i, op_found;
- char c;
+ int i, op_found, c;
for (i = 0, mod_info = nvramtool_op_modifiers;
i < NVRAMTOOL_NUM_OP_MODIFIERS; i++, mod_info++) {
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9299
-gerrit
commit bedc5a115f0130198207421008d912cc1b4a1a64
Author: Patrick Georgi <pgeorgi(a)google.com>
Date: Fri Apr 3 17:06:48 2015 -0700
git: add rebase helper script
This is a script we have been using to rewrite commit messages when
upstreaming coreboot patches from the ChromiumOS tree into coreboot
upstream.
Change-Id: I5442279c099dafe55cc97ccf09ee2bc2df4eca5f
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
util/gitconfig/rebase.sh | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/util/gitconfig/rebase.sh b/util/gitconfig/rebase.sh
new file mode 100755
index 0000000..4bc32a4
--- /dev/null
+++ b/util/gitconfig/rebase.sh
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+# rebase.sh - rebase helper script
+#
+# 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.
+#
+
+# Adapt to your remote branch:
+BRANCH="cros/chromeos-2013.04"
+
+# When pulling in patches from another tree from a gerrit repository,
+# do the following at the end of a larger cherry-pick series:
+# git remote add ...
+# git checkout -b upstreaming
+# git cherry-pick ...
+# git rebase -i --exec util/gitconfig/rebase.sh master
+# Alternatively, you can run util/gitconfig/rebase.sh after every
+# individual cherry-pick.
+
+commit_message() {
+ git log -n 1 | grep "^ " | cut -c5-
+}
+
+CHID=$( commit_message | grep -i "^Change-Id: I" )
+CID=$( git log -n1 --grep "^$CHID$" --pretty=%H $BRANCH )
+GUID="$(git config user.name) <$(git config user.email)>"
+
+# TBD: Don't add Original- to empty lines, and possibly make script more
+# solid for commits with an unexpected order of meta data lines.
+
+commit_message | tac | awk '/^$/ {
+ if (end==0)
+ print "Original-Commit-Id: '"$CID"'\nSigned-off-by: '"$GUID"'";
+ end=1
+ }; {
+ if (end==0)
+ print "Original-" $0;
+ else
+ print $0;
+ }' | tac | git commit --amend -F -
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9299
-gerrit
commit 98d02daf607780ce06c28ee8bcd78bc49f1ff567
Author: Patrick Georgi <pgeorgi(a)google.com>
Date: Fri Apr 3 17:06:48 2015 -0700
git: add rebase helper script
This is a script we have been using to rewrite commit messages when
upstreaming coreboot patches from the ChromiumOS tree into coreboot
upstream.
Change-Id: I5442279c099dafe55cc97ccf09ee2bc2df4eca5f
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
util/gitconfig/rebase.sh | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/util/gitconfig/rebase.sh b/util/gitconfig/rebase.sh
new file mode 100755
index 0000000..0229308
--- /dev/null
+++ b/util/gitconfig/rebase.sh
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+# rebase.sh - rebase helper script
+#
+# 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.
+#
+
+# Adapt to youre remote branch:
+BRANCH="cros/chromeos-2013.04"
+
+# When pulling in patches from another tree from a gerrit repository,
+# do the following at the end of a larger cherry-pick series:
+# git remote add ...
+# git checkout -b upstreaming
+# git cherry-pick ...
+# git rebase -i --exec util/gitconfig/rebase.sh master
+# Alternatively, you can run util/gitconfig/rebase.sh after every
+# individual cherry-pick.
+
+commit_message() {
+ git log -n 1 | grep "^ " | cut -c5-
+}
+
+CHID=$( commit_message | grep -i "^Change-Id: I" )
+CID=$( git log -n1 --grep "^$CHID$" --pretty=%H $BRANCH )
+GUID="$(git config user.name) <$(git config user.email)>"
+
+# TBD: Don't add Original- to empty lines, and possibly make script more
+# solid for commits with an unexpected order of meta data lines.
+
+commit_message | tac | awk '/^$/ {
+ if (end==0)
+ print "Original-Commit-Id: '"$CID"'\nSigned-off-by: '"$GUID"'";
+ end=1
+ }; {
+ if (end==0)
+ print "Original-" $0;
+ else
+ print $0;
+ }' | tac | git commit --amend -F -
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9298
-gerrit
commit b9cd8a4558bdc83941e09100d19f7b3c3f3dc3b3
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Sat Apr 4 01:58:28 2015 +0200
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(a)coreboot.org>
---
src/Kconfig | 55 ++++++++++-----------------------------
src/arch/arm/Kconfig | 4 +++
src/arch/arm64/Kconfig | 4 +++
src/arch/mips/Kconfig | 4 +++
src/arch/riscv/Kconfig | 4 +++
src/arch/x86/Kconfig | 5 ++++
src/cpu/Kconfig | 12 +--------
src/cpu/x86/Kconfig | 4 ---
src/drivers/Kconfig | 45 --------------------------------
src/drivers/pc80/Kconfig | 4 +++
src/drivers/ricoh/Kconfig | 1 +
src/ec/Kconfig | 7 -----
src/ec/compal/Kconfig | 1 -
src/ec/google/Kconfig | 1 -
src/ec/kontron/Kconfig | 1 -
src/ec/lenovo/Kconfig | 2 --
src/ec/quanta/Kconfig | 2 --
src/ec/smsc/Kconfig | 1 -
src/northbridge/Kconfig | 5 ----
src/northbridge/amd/Kconfig | 7 -----
src/northbridge/amd/agesa/Kconfig | 8 +-----
src/northbridge/dmp/Kconfig | 20 --------------
src/northbridge/intel/Kconfig | 17 ------------
src/northbridge/rdc/Kconfig | 1 -
src/northbridge/via/Kconfig | 4 ---
src/soc/Kconfig | 7 -----
src/soc/imgtec/Kconfig | 1 -
src/soc/intel/Kconfig | 4 ---
src/soc/nvidia/Kconfig | 2 --
src/soc/qualcomm/Kconfig | 9 -------
src/soc/qualcomm/ipq806x/Kconfig | 8 ++++++
src/soc/rockchip/Kconfig | 20 --------------
src/soc/samsung/Kconfig | 2 --
src/soc/ucb/Kconfig | 1 -
src/southbridge/Kconfig | 10 -------
src/southbridge/amd/Kconfig | 15 -----------
src/southbridge/broadcom/Kconfig | 3 ---
src/southbridge/dmp/Kconfig | 20 --------------
src/southbridge/intel/Kconfig | 18 -------------
src/southbridge/nvidia/Kconfig | 2 --
src/southbridge/rdc/Kconfig | 1 -
src/southbridge/ricoh/Kconfig | 1 -
src/southbridge/sis/Kconfig | 1 -
src/southbridge/ti/Kconfig | 22 ----------------
src/southbridge/via/Kconfig | 2 --
src/superio/Kconfig | 32 -----------------------
src/superio/smsc/Kconfig | 3 +++
47 files changed, 53 insertions(+), 350 deletions(-)
diff --git a/src/Kconfig b/src/Kconfig
index aa4d6ee..cc87aec 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 77ed41a..2499d2d 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 16830bc..47e7b67 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 5c0fc5c..10349f2 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 f2dc41e..5d7b5c2 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 93474a8..f7da89a 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 f6f0647..c8dc136 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 1e15166..41c2288 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 435ed0e..0000000
--- 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(a)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 f8ac5c5..f6da88c 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 0000000..6b05142
--- /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 98aeb9c..0000000
--- 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 5b7899a..0000000
--- 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 f83741e..0000000
--- 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 747a667..0000000
--- 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 73f11ca..0000000
--- 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 00c3dbf..0000000
--- 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 afc6e4b..0000000
--- 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 0ac09a6..0000000
--- 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 4bc6e49..0000000
--- 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 8fd8bfd..430d4ba 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 a69d1d9..0000000
--- 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 cf7264b..0000000
--- 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 73ac740..0000000
--- 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 7b9fa1d..0000000
--- 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 43c2010..0000000
--- 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 df51850..0000000
--- 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 808f6b8..0000000
--- 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 cb1f468..0000000
--- 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 918093b..0000000
--- 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 013d86c..35310fe 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 b041f89..0000000
--- 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 9241d27..0000000
--- 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 7af50cb..0000000
--- 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 84b5f8d..0000000
--- 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 feb9006..0000000
--- 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 38ff222..0000000
--- 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 1c5b8c7..0000000
--- 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 426ac0b..0000000
--- 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 59fc8ed..0000000
--- 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 50ef475..0000000
--- 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 2d25e9e..0000000
--- 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 4d11384..0000000
--- 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 7092685..0000000
--- 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 75a1395..0000000
--- 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 32e60bb..0000000
--- 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 34bc60c..7a58cbb 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