Omar Pakker just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15970
-gerrit
commit f84b70fadc765f19e787d9c5bf325f689e0b3376
Author: Omar Pakker <omarpakker+coreboot(a)gmail.com>
Date: Fri Jul 29 22:29:44 2016 +0200
superio/*: Relocate Kconfig to chip folder.
This moves the Kconfig from the Super I/O manufacturer folder
to the chip folder instead.
This makes new chip commits self-contained unit as
edits to the central Kconfig file are no longer required.
Change-Id: Ife2bd9b88c468a39e5803ba1acb00eef654ba16f
Signed-off-by: Omar Pakker <omarpakker+coreboot(a)gmail.com>
---
src/Kconfig | 2 +-
src/superio/fintek/Kconfig | 52 ------------------------------
src/superio/fintek/common/Kconfig | 21 +++++++++++++
src/superio/fintek/f71805f/Kconfig | 20 ++++++++++++
src/superio/fintek/f71859/Kconfig | 20 ++++++++++++
src/superio/fintek/f71863fg/Kconfig | 20 ++++++++++++
src/superio/fintek/f71869ad/Kconfig | 20 ++++++++++++
src/superio/fintek/f71872/Kconfig | 20 ++++++++++++
src/superio/fintek/f81216h/Kconfig | 20 ++++++++++++
src/superio/fintek/f81865f/Kconfig | 20 ++++++++++++
src/superio/fintek/f81866d/Kconfig | 20 ++++++++++++
src/superio/intel/Kconfig | 20 ------------
src/superio/intel/i3100/Kconfig | 18 +++++++++++
src/superio/intel/i8900/Kconfig | 18 +++++++++++
src/superio/ite/Kconfig | 54 -------------------------------
src/superio/ite/common/Kconfig | 21 +++++++++++++
src/superio/ite/it8671f/Kconfig | 20 ++++++++++++
src/superio/ite/it8712f/Kconfig | 20 ++++++++++++
src/superio/ite/it8716f/Kconfig | 26 +++++++++++++++
src/superio/ite/it8718f/Kconfig | 20 ++++++++++++
src/superio/ite/it8721f/Kconfig | 20 ++++++++++++
src/superio/ite/it8728f/Kconfig | 20 ++++++++++++
src/superio/ite/it8772f/Kconfig | 20 ++++++++++++
src/superio/nsc/Kconfig | 32 -------------------
src/superio/nsc/pc87309/Kconfig | 18 +++++++++++
src/superio/nsc/pc87360/Kconfig | 18 +++++++++++
src/superio/nsc/pc87366/Kconfig | 18 +++++++++++
src/superio/nsc/pc87382/Kconfig | 18 +++++++++++
src/superio/nsc/pc87384/Kconfig | 18 +++++++++++
src/superio/nsc/pc87392/Kconfig | 18 +++++++++++
src/superio/nsc/pc87417/Kconfig | 18 +++++++++++
src/superio/nsc/pc97317/Kconfig | 18 +++++++++++
src/superio/nuvoton/common/Kconfig | 20 ++++++++++++
src/superio/nuvoton/nct5104d/Kconfig | 19 +++++++++++
src/superio/nuvoton/nct5572d/Kconfig | 19 +++++++++++
src/superio/nuvoton/nct6779d/Kconfig | 19 +++++++++++
src/superio/nuvoton/nct6791d/Kconfig | 19 +++++++++++
src/superio/nuvoton/wpcm450/Kconfig | 18 +++++++++++
src/superio/renesas/Kconfig | 17 ----------
src/superio/renesas/m3885x/Kconfig | 17 ++++++++++
src/superio/serverengines/Kconfig | 17 ----------
src/superio/serverengines/pilot/Kconfig | 17 ++++++++++
src/superio/smsc/Kconfig | 52 ------------------------------
src/superio/smsc/dme1737/Kconfig | 19 +++++++++++
src/superio/smsc/fdc37n972/Kconfig | 19 +++++++++++
src/superio/smsc/kbc1100/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47b272/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47b397/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47m10x/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47m15x/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47n207/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47n217/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47n227/Kconfig | 19 +++++++++++
src/superio/smsc/mec1308/Kconfig | 19 +++++++++++
src/superio/smsc/sch4037/Kconfig | 19 +++++++++++
src/superio/smsc/sio1007/Kconfig | 19 +++++++++++
src/superio/smsc/sio1036/Kconfig | 19 +++++++++++
src/superio/smsc/sio10n268/Kconfig | 19 +++++++++++
src/superio/smsc/smscsuperio/Kconfig | 23 ++++++++++++++
src/superio/via/Kconfig | 17 ----------
src/superio/via/vt1211/Kconfig | 17 ++++++++++
src/superio/winbond/Kconfig | 56 ---------------------------------
src/superio/winbond/common/Kconfig | 21 +++++++++++++
src/superio/winbond/w83627dhg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627ehg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627hf/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627thg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627uhg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83667hg-a/Kconfig | 20 ++++++++++++
src/superio/winbond/w83697hf/Kconfig | 20 ++++++++++++
src/superio/winbond/w83977tf/Kconfig | 20 ++++++++++++
src/superio/winbond/wpcd376i/Kconfig | 20 ++++++++++++
72 files changed, 1203 insertions(+), 318 deletions(-)
diff --git a/src/Kconfig b/src/Kconfig
index 6911f93..852d6dd 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -445,7 +445,7 @@ source "src/northbridge/*/*/Kconfig"
comment "Southbridge"
source "src/southbridge/*/*/Kconfig"
comment "Super I/O"
-source "src/superio/*/Kconfig"
+source "src/superio/*/*/Kconfig"
comment "Embedded Controllers"
source "src/ec/acpi/Kconfig"
source "src/ec/*/*/Kconfig"
diff --git a/src/superio/fintek/Kconfig b/src/superio/fintek/Kconfig
deleted file mode 100644
index 724c317..0000000
--- a/src/superio/fintek/Kconfig
+++ /dev/null
@@ -1,52 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
-##
-## 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.
-##
-
-# Generic Fintek romstage driver - Just enough UART initialisation code for
-# romstage.
-config SUPERIO_FINTEK_COMMON_ROMSTAGE
- bool
-
-config SUPERIO_FINTEK_F71805F
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71859
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71863FG
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71869AD
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71872
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F81216H
- bool
-# N.B. 'special romstage'
-
-config SUPERIO_FINTEK_F81865F
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F81866D
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
diff --git a/src/superio/fintek/common/Kconfig b/src/superio/fintek/common/Kconfig
new file mode 100644
index 0000000..bab9161
--- /dev/null
+++ b/src/superio/fintek/common/Kconfig
@@ -0,0 +1,21 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+# Generic Fintek romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_FINTEK_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/fintek/f71805f/Kconfig b/src/superio/fintek/f71805f/Kconfig
new file mode 100644
index 0000000..175c057
--- /dev/null
+++ b/src/superio/fintek/f71805f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71805F
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71859/Kconfig b/src/superio/fintek/f71859/Kconfig
new file mode 100644
index 0000000..91cf824
--- /dev/null
+++ b/src/superio/fintek/f71859/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71859
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71863fg/Kconfig b/src/superio/fintek/f71863fg/Kconfig
new file mode 100644
index 0000000..6e1d0ad
--- /dev/null
+++ b/src/superio/fintek/f71863fg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71863FG
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71869ad/Kconfig b/src/superio/fintek/f71869ad/Kconfig
new file mode 100644
index 0000000..b30b6df
--- /dev/null
+++ b/src/superio/fintek/f71869ad/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71869AD
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71872/Kconfig b/src/superio/fintek/f71872/Kconfig
new file mode 100644
index 0000000..7d6333a
--- /dev/null
+++ b/src/superio/fintek/f71872/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71872
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f81216h/Kconfig b/src/superio/fintek/f81216h/Kconfig
new file mode 100644
index 0000000..0b8a4de
--- /dev/null
+++ b/src/superio/fintek/f81216h/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F81216H
+ bool
+# N.B. 'special romstage'
+
diff --git a/src/superio/fintek/f81865f/Kconfig b/src/superio/fintek/f81865f/Kconfig
new file mode 100644
index 0000000..0b9f086
--- /dev/null
+++ b/src/superio/fintek/f81865f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F81865F
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f81866d/Kconfig b/src/superio/fintek/f81866d/Kconfig
new file mode 100644
index 0000000..f15af86
--- /dev/null
+++ b/src/superio/fintek/f81866d/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F81866D
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/intel/Kconfig b/src/superio/intel/Kconfig
deleted file mode 100644
index b41d24e..0000000
--- a/src/superio/intel/Kconfig
+++ /dev/null
@@ -1,20 +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.
-##
-
-config SUPERIO_INTEL_I3100
- bool
-
-config SUPERIO_INTEL_I8900
- bool
diff --git a/src/superio/intel/i3100/Kconfig b/src/superio/intel/i3100/Kconfig
new file mode 100644
index 0000000..06e6d14
--- /dev/null
+++ b/src/superio/intel/i3100/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_INTEL_I3100
+ bool
+
diff --git a/src/superio/intel/i8900/Kconfig b/src/superio/intel/i8900/Kconfig
new file mode 100644
index 0000000..338adb9
--- /dev/null
+++ b/src/superio/intel/i8900/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_INTEL_I8900
+ bool
+
diff --git a/src/superio/ite/Kconfig b/src/superio/ite/Kconfig
deleted file mode 100644
index 9a38d0b..0000000
--- a/src/superio/ite/Kconfig
+++ /dev/null
@@ -1,54 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
-##
-## 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.
-##
-
-# Generic ITE romstage driver - Just enough UART initialisation code for
-# romstage.
-config SUPERIO_ITE_COMMON_ROMSTAGE
- bool
-
-config SUPERIO_ITE_IT8671F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8712F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8716F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
- bool
- depends on SUPERIO_ITE_IT8716F
- default n
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8718F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8721F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8728F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8772F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
diff --git a/src/superio/ite/common/Kconfig b/src/superio/ite/common/Kconfig
new file mode 100644
index 0000000..def3fc5
--- /dev/null
+++ b/src/superio/ite/common/Kconfig
@@ -0,0 +1,21 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+# Generic ITE romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_ITE_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/ite/it8671f/Kconfig b/src/superio/ite/it8671f/Kconfig
new file mode 100644
index 0000000..0da2ad0
--- /dev/null
+++ b/src/superio/ite/it8671f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8671F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8712f/Kconfig b/src/superio/ite/it8712f/Kconfig
new file mode 100644
index 0000000..1dc186e
--- /dev/null
+++ b/src/superio/ite/it8712f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8712F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8716f/Kconfig b/src/superio/ite/it8716f/Kconfig
new file mode 100644
index 0000000..5ac47b0
--- /dev/null
+++ b/src/superio/ite/it8716f/Kconfig
@@ -0,0 +1,26 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8716F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
+config SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
+ bool
+ depends on SUPERIO_ITE_IT8716F
+ default n
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8718f/Kconfig b/src/superio/ite/it8718f/Kconfig
new file mode 100644
index 0000000..398603f
--- /dev/null
+++ b/src/superio/ite/it8718f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8718F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8721f/Kconfig b/src/superio/ite/it8721f/Kconfig
new file mode 100644
index 0000000..fbe3df2
--- /dev/null
+++ b/src/superio/ite/it8721f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8721F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8728f/Kconfig b/src/superio/ite/it8728f/Kconfig
new file mode 100644
index 0000000..54d64cb
--- /dev/null
+++ b/src/superio/ite/it8728f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8728F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8772f/Kconfig b/src/superio/ite/it8772f/Kconfig
new file mode 100644
index 0000000..6ac64e1
--- /dev/null
+++ b/src/superio/ite/it8772f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8772F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/nsc/Kconfig b/src/superio/nsc/Kconfig
deleted file mode 100644
index bf793a3..0000000
--- a/src/superio/nsc/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.
-##
-
-
-config SUPERIO_NSC_PC87309
- bool
-config SUPERIO_NSC_PC87360
- bool
-config SUPERIO_NSC_PC87366
- bool
-config SUPERIO_NSC_PC87382
- bool
-config SUPERIO_NSC_PC87384
- bool
-config SUPERIO_NSC_PC87392
- bool
-config SUPERIO_NSC_PC87417
- bool
-config SUPERIO_NSC_PC97317
- bool
diff --git a/src/superio/nsc/pc87309/Kconfig b/src/superio/nsc/pc87309/Kconfig
new file mode 100644
index 0000000..4a83321
--- /dev/null
+++ b/src/superio/nsc/pc87309/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87309
+ bool
+
diff --git a/src/superio/nsc/pc87360/Kconfig b/src/superio/nsc/pc87360/Kconfig
new file mode 100644
index 0000000..41fc20a
--- /dev/null
+++ b/src/superio/nsc/pc87360/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87360
+ bool
+
diff --git a/src/superio/nsc/pc87366/Kconfig b/src/superio/nsc/pc87366/Kconfig
new file mode 100644
index 0000000..6609acc
--- /dev/null
+++ b/src/superio/nsc/pc87366/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87366
+ bool
+
diff --git a/src/superio/nsc/pc87382/Kconfig b/src/superio/nsc/pc87382/Kconfig
new file mode 100644
index 0000000..d8ad326
--- /dev/null
+++ b/src/superio/nsc/pc87382/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87382
+ bool
+
diff --git a/src/superio/nsc/pc87384/Kconfig b/src/superio/nsc/pc87384/Kconfig
new file mode 100644
index 0000000..f1498e1
--- /dev/null
+++ b/src/superio/nsc/pc87384/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87384
+ bool
+
diff --git a/src/superio/nsc/pc87392/Kconfig b/src/superio/nsc/pc87392/Kconfig
new file mode 100644
index 0000000..0d28898
--- /dev/null
+++ b/src/superio/nsc/pc87392/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87392
+ bool
+
diff --git a/src/superio/nsc/pc87417/Kconfig b/src/superio/nsc/pc87417/Kconfig
new file mode 100644
index 0000000..0864526
--- /dev/null
+++ b/src/superio/nsc/pc87417/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87417
+ bool
+
diff --git a/src/superio/nsc/pc97317/Kconfig b/src/superio/nsc/pc97317/Kconfig
new file mode 100644
index 0000000..c037b76
--- /dev/null
+++ b/src/superio/nsc/pc97317/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC97317
+ bool
+
diff --git a/src/superio/nuvoton/common/Kconfig b/src/superio/nuvoton/common/Kconfig
new file mode 100644
index 0000000..317491c
--- /dev/null
+++ b/src/superio/nuvoton/common/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+# Generic Nuvoton romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_NUVOTON_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/nuvoton/nct5104d/Kconfig b/src/superio/nuvoton/nct5104d/Kconfig
new file mode 100644
index 0000000..246edb6
--- /dev/null
+++ b/src/superio/nuvoton/nct5104d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_NCT5104D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/nct5572d/Kconfig b/src/superio/nuvoton/nct5572d/Kconfig
new file mode 100644
index 0000000..d4b6d6d
--- /dev/null
+++ b/src/superio/nuvoton/nct5572d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_NCT5572D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/nct6779d/Kconfig b/src/superio/nuvoton/nct6779d/Kconfig
new file mode 100644
index 0000000..3a38024
--- /dev/null
+++ b/src/superio/nuvoton/nct6779d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_NCT6779D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/nct6791d/Kconfig b/src/superio/nuvoton/nct6791d/Kconfig
new file mode 100644
index 0000000..77c530d
--- /dev/null
+++ b/src/superio/nuvoton/nct6791d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2016 Omar Pakker <omarpakker+coreboot(a)gmail.com>
+##
+## 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.
+##
+
+config SUPERIO_NUVOTON_NCT6791D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/wpcm450/Kconfig b/src/superio/nuvoton/wpcm450/Kconfig
new file mode 100644
index 0000000..fe268cf
--- /dev/null
+++ b/src/superio/nuvoton/wpcm450/Kconfig
@@ -0,0 +1,18 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_WPCM450
+ bool
+
diff --git a/src/superio/renesas/Kconfig b/src/superio/renesas/Kconfig
deleted file mode 100644
index 8f48abb..0000000
--- a/src/superio/renesas/Kconfig
+++ /dev/null
@@ -1,17 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 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.
-##
-
-config SUPERIO_RENESAS_M3885X
- bool
diff --git a/src/superio/renesas/m3885x/Kconfig b/src/superio/renesas/m3885x/Kconfig
new file mode 100644
index 0000000..8f48abb
--- /dev/null
+++ b/src/superio/renesas/m3885x/Kconfig
@@ -0,0 +1,17 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 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.
+##
+
+config SUPERIO_RENESAS_M3885X
+ bool
diff --git a/src/superio/serverengines/Kconfig b/src/superio/serverengines/Kconfig
deleted file mode 100644
index 53624a1..0000000
--- a/src/superio/serverengines/Kconfig
+++ /dev/null
@@ -1,17 +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.
-##
-
-config SUPERIO_SERVERENGINES_PILOT
- bool
diff --git a/src/superio/serverengines/pilot/Kconfig b/src/superio/serverengines/pilot/Kconfig
new file mode 100644
index 0000000..53624a1
--- /dev/null
+++ b/src/superio/serverengines/pilot/Kconfig
@@ -0,0 +1,17 @@
+##
+## 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.
+##
+
+config SUPERIO_SERVERENGINES_PILOT
+ bool
diff --git a/src/superio/smsc/Kconfig b/src/superio/smsc/Kconfig
deleted file mode 100644
index 0bab195..0000000
--- a/src/superio/smsc/Kconfig
+++ /dev/null
@@ -1,52 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2012 Advanced Micro Devices, 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.
-##
-
-config SUPERIO_WANTS_14MHZ_CLOCK
- bool
-
-config SUPERIO_SMSC_DME1737
- bool
-config SUPERIO_SMSC_FDC37N972
- bool
-config SUPERIO_SMSC_LPC47B272
- bool
-config SUPERIO_SMSC_LPC47B397
- bool
-config SUPERIO_SMSC_LPC47M10X
- bool
-config SUPERIO_SMSC_LPC47M15X
- bool
-config SUPERIO_SMSC_LPC47N207
- bool
-config SUPERIO_SMSC_LPC47N217
- bool
-config SUPERIO_SMSC_LPC47N227
- bool
-config SUPERIO_SMSC_SIO10N268
- bool
-config SUPERIO_SMSC_SIO1007
- bool
-config SUPERIO_SMSC_KBC1100
- bool
-config SUPERIO_SMSC_MEC1308
- bool
-config SUPERIO_SMSC_SMSCSUPERIO
- bool
- select SUPERIO_WANTS_14MHZ_CLOCK
-config SUPERIO_SMSC_SIO1036
- bool
-config SUPERIO_SMSC_SCH4037
- bool
diff --git a/src/superio/smsc/dme1737/Kconfig b/src/superio/smsc/dme1737/Kconfig
new file mode 100644
index 0000000..07aa8bd
--- /dev/null
+++ b/src/superio/smsc/dme1737/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_DME1737
+ bool
+
diff --git a/src/superio/smsc/fdc37n972/Kconfig b/src/superio/smsc/fdc37n972/Kconfig
new file mode 100644
index 0000000..9653657
--- /dev/null
+++ b/src/superio/smsc/fdc37n972/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_FDC37N972
+ bool
+
diff --git a/src/superio/smsc/kbc1100/Kconfig b/src/superio/smsc/kbc1100/Kconfig
new file mode 100644
index 0000000..967bcf2
--- /dev/null
+++ b/src/superio/smsc/kbc1100/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_KBC1100
+ bool
+
diff --git a/src/superio/smsc/lpc47b272/Kconfig b/src/superio/smsc/lpc47b272/Kconfig
new file mode 100644
index 0000000..f83954b
--- /dev/null
+++ b/src/superio/smsc/lpc47b272/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47B272
+ bool
+
diff --git a/src/superio/smsc/lpc47b397/Kconfig b/src/superio/smsc/lpc47b397/Kconfig
new file mode 100644
index 0000000..e1863c2
--- /dev/null
+++ b/src/superio/smsc/lpc47b397/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47B397
+ bool
+
diff --git a/src/superio/smsc/lpc47m10x/Kconfig b/src/superio/smsc/lpc47m10x/Kconfig
new file mode 100644
index 0000000..0412f29
--- /dev/null
+++ b/src/superio/smsc/lpc47m10x/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47M10X
+ bool
+
diff --git a/src/superio/smsc/lpc47m15x/Kconfig b/src/superio/smsc/lpc47m15x/Kconfig
new file mode 100644
index 0000000..4810048
--- /dev/null
+++ b/src/superio/smsc/lpc47m15x/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47M15X
+ bool
+
diff --git a/src/superio/smsc/lpc47n207/Kconfig b/src/superio/smsc/lpc47n207/Kconfig
new file mode 100644
index 0000000..4956b10
--- /dev/null
+++ b/src/superio/smsc/lpc47n207/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47N207
+ bool
+
diff --git a/src/superio/smsc/lpc47n217/Kconfig b/src/superio/smsc/lpc47n217/Kconfig
new file mode 100644
index 0000000..f498209
--- /dev/null
+++ b/src/superio/smsc/lpc47n217/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47N217
+ bool
+
diff --git a/src/superio/smsc/lpc47n227/Kconfig b/src/superio/smsc/lpc47n227/Kconfig
new file mode 100644
index 0000000..4cceed1
--- /dev/null
+++ b/src/superio/smsc/lpc47n227/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47N227
+ bool
+
diff --git a/src/superio/smsc/mec1308/Kconfig b/src/superio/smsc/mec1308/Kconfig
new file mode 100644
index 0000000..a8fb43b
--- /dev/null
+++ b/src/superio/smsc/mec1308/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_MEC1308
+ bool
+
diff --git a/src/superio/smsc/sch4037/Kconfig b/src/superio/smsc/sch4037/Kconfig
new file mode 100644
index 0000000..966720c
--- /dev/null
+++ b/src/superio/smsc/sch4037/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SCH4037
+ bool
+
diff --git a/src/superio/smsc/sio1007/Kconfig b/src/superio/smsc/sio1007/Kconfig
new file mode 100644
index 0000000..9771edb
--- /dev/null
+++ b/src/superio/smsc/sio1007/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SIO1007
+ bool
+
diff --git a/src/superio/smsc/sio1036/Kconfig b/src/superio/smsc/sio1036/Kconfig
new file mode 100644
index 0000000..a0e3cf6
--- /dev/null
+++ b/src/superio/smsc/sio1036/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SIO1036
+ bool
+
diff --git a/src/superio/smsc/sio10n268/Kconfig b/src/superio/smsc/sio10n268/Kconfig
new file mode 100644
index 0000000..0526464
--- /dev/null
+++ b/src/superio/smsc/sio10n268/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SIO10N268
+ bool
+
diff --git a/src/superio/smsc/smscsuperio/Kconfig b/src/superio/smsc/smscsuperio/Kconfig
new file mode 100644
index 0000000..0b8bac2
--- /dev/null
+++ b/src/superio/smsc/smscsuperio/Kconfig
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_WANTS_14MHZ_CLOCK
+ bool
+
+config SUPERIO_SMSC_SMSCSUPERIO
+ bool
+ select SUPERIO_WANTS_14MHZ_CLOCK
+
diff --git a/src/superio/via/Kconfig b/src/superio/via/Kconfig
deleted file mode 100644
index b2de1d3..0000000
--- a/src/superio/via/Kconfig
+++ /dev/null
@@ -1,17 +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.
-##
-
-config SUPERIO_VIA_VT1211
- bool
diff --git a/src/superio/via/vt1211/Kconfig b/src/superio/via/vt1211/Kconfig
new file mode 100644
index 0000000..b2de1d3
--- /dev/null
+++ b/src/superio/via/vt1211/Kconfig
@@ -0,0 +1,17 @@
+##
+## 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.
+##
+
+config SUPERIO_VIA_VT1211
+ bool
diff --git a/src/superio/winbond/Kconfig b/src/superio/winbond/Kconfig
deleted file mode 100644
index 1731a7f..0000000
--- a/src/superio/winbond/Kconfig
+++ /dev/null
@@ -1,56 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
-##
-## 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.
-##
-
-# Generic Winbond romstage driver - Just enough UART initialisation code for
-# romstage.
-config SUPERIO_WINBOND_COMMON_ROMSTAGE
- bool
-
-config SUPERIO_WINBOND_W83627DHG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627EHG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627HF
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627THG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627UHG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83667HG_A
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83697HF
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83977TF
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_WPCD376I
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
diff --git a/src/superio/winbond/common/Kconfig b/src/superio/winbond/common/Kconfig
new file mode 100644
index 0000000..26163dd
--- /dev/null
+++ b/src/superio/winbond/common/Kconfig
@@ -0,0 +1,21 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+# Generic Winbond romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_WINBOND_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/winbond/w83627dhg/Kconfig b/src/superio/winbond/w83627dhg/Kconfig
new file mode 100644
index 0000000..7ea6cb5
--- /dev/null
+++ b/src/superio/winbond/w83627dhg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627DHG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627ehg/Kconfig b/src/superio/winbond/w83627ehg/Kconfig
new file mode 100644
index 0000000..7c65827
--- /dev/null
+++ b/src/superio/winbond/w83627ehg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627EHG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627hf/Kconfig b/src/superio/winbond/w83627hf/Kconfig
new file mode 100644
index 0000000..82a5110
--- /dev/null
+++ b/src/superio/winbond/w83627hf/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627HF
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627thg/Kconfig b/src/superio/winbond/w83627thg/Kconfig
new file mode 100644
index 0000000..e7d54ab
--- /dev/null
+++ b/src/superio/winbond/w83627thg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627THG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627uhg/Kconfig b/src/superio/winbond/w83627uhg/Kconfig
new file mode 100644
index 0000000..be79117
--- /dev/null
+++ b/src/superio/winbond/w83627uhg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627UHG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83667hg-a/Kconfig b/src/superio/winbond/w83667hg-a/Kconfig
new file mode 100644
index 0000000..5606fdc
--- /dev/null
+++ b/src/superio/winbond/w83667hg-a/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83667HG_A
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83697hf/Kconfig b/src/superio/winbond/w83697hf/Kconfig
new file mode 100644
index 0000000..1a55fea
--- /dev/null
+++ b/src/superio/winbond/w83697hf/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83697HF
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83977tf/Kconfig b/src/superio/winbond/w83977tf/Kconfig
new file mode 100644
index 0000000..dd51efc
--- /dev/null
+++ b/src/superio/winbond/w83977tf/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83977TF
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/wpcd376i/Kconfig b/src/superio/winbond/wpcd376i/Kconfig
new file mode 100644
index 0000000..f9a3327
--- /dev/null
+++ b/src/superio/winbond/wpcd376i/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_WPCD376I
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
Omar Pakker just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15970
-gerrit
commit 9e30dde765d29e716946209d013d9e147cc45f22
Author: Omar Pakker <omarpakker+coreboot(a)gmail.com>
Date: Fri Jul 29 22:29:44 2016 +0200
superio/*: Relocate Kconfig to chip folder.
This moves the Kconfig from the Super I/O manufacturer folder
to the chip folder instead.
This makes new chip commits self-contained unit as
edits to the central Kconfig file are no longer required.
Change-Id: Ife2bd9b88c468a39e5803ba1acb00eef654ba16f
Signed-off-by: Omar Pakker <omarpakker+coreboot(a)gmail.com>
---
src/Kconfig | 2 +-
src/superio/fintek/Kconfig | 52 ------------------------------
src/superio/fintek/common/Kconfig | 21 +++++++++++++
src/superio/fintek/f71805f/Kconfig | 20 ++++++++++++
src/superio/fintek/f71859/Kconfig | 20 ++++++++++++
src/superio/fintek/f71863fg/Kconfig | 20 ++++++++++++
src/superio/fintek/f71869ad/Kconfig | 20 ++++++++++++
src/superio/fintek/f71872/Kconfig | 20 ++++++++++++
src/superio/fintek/f81216h/Kconfig | 20 ++++++++++++
src/superio/fintek/f81865f/Kconfig | 20 ++++++++++++
src/superio/fintek/f81866d/Kconfig | 20 ++++++++++++
src/superio/intel/Kconfig | 20 ------------
src/superio/intel/i3100/Kconfig | 18 +++++++++++
src/superio/intel/i8900/Kconfig | 18 +++++++++++
src/superio/ite/Kconfig | 54 -------------------------------
src/superio/ite/common/Kconfig | 21 +++++++++++++
src/superio/ite/it8671f/Kconfig | 20 ++++++++++++
src/superio/ite/it8712f/Kconfig | 20 ++++++++++++
src/superio/ite/it8716f/Kconfig | 26 +++++++++++++++
src/superio/ite/it8718f/Kconfig | 20 ++++++++++++
src/superio/ite/it8721f/Kconfig | 20 ++++++++++++
src/superio/ite/it8728f/Kconfig | 20 ++++++++++++
src/superio/ite/it8772f/Kconfig | 20 ++++++++++++
src/superio/nsc/Kconfig | 32 -------------------
src/superio/nsc/pc87309/Kconfig | 18 +++++++++++
src/superio/nsc/pc87360/Kconfig | 18 +++++++++++
src/superio/nsc/pc87366/Kconfig | 18 +++++++++++
src/superio/nsc/pc87382/Kconfig | 18 +++++++++++
src/superio/nsc/pc87384/Kconfig | 18 +++++++++++
src/superio/nsc/pc87392/Kconfig | 18 +++++++++++
src/superio/nsc/pc87417/Kconfig | 18 +++++++++++
src/superio/nsc/pc97317/Kconfig | 18 +++++++++++
src/superio/nuvoton/common/Kconfig | 20 ++++++++++++
src/superio/nuvoton/nct5104d/Kconfig | 19 +++++++++++
src/superio/nuvoton/nct5572d/Kconfig | 19 +++++++++++
src/superio/nuvoton/nct6779d/Kconfig | 19 +++++++++++
src/superio/nuvoton/nct6791d/Kconfig | 19 +++++++++++
src/superio/nuvoton/wpcm450/Kconfig | 18 +++++++++++
src/superio/renesas/Kconfig | 17 ----------
src/superio/renesas/m3885x/Kconfig | 17 ++++++++++
src/superio/serverengines/Kconfig | 17 ----------
src/superio/serverengines/pilot/Kconfig | 17 ++++++++++
src/superio/smsc/Kconfig | 52 ------------------------------
src/superio/smsc/dme1737/Kconfig | 19 +++++++++++
src/superio/smsc/fdc37n972/Kconfig | 19 +++++++++++
src/superio/smsc/kbc1100/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47b272/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47b397/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47m10x/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47m15x/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47n207/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47n217/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47n227/Kconfig | 19 +++++++++++
src/superio/smsc/mec1308/Kconfig | 19 +++++++++++
src/superio/smsc/sch4037/Kconfig | 19 +++++++++++
src/superio/smsc/sio1007/Kconfig | 19 +++++++++++
src/superio/smsc/sio1036/Kconfig | 19 +++++++++++
src/superio/smsc/sio10n268/Kconfig | 19 +++++++++++
src/superio/smsc/smscsuperio/Kconfig | 23 ++++++++++++++
src/superio/via/Kconfig | 17 ----------
src/superio/via/vt1211/Kconfig | 17 ++++++++++
src/superio/winbond/Kconfig | 56 ---------------------------------
src/superio/winbond/common/Kconfig | 21 +++++++++++++
src/superio/winbond/w83627dhg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627ehg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627hf/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627thg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627uhg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83667hg-a/Kconfig | 20 ++++++++++++
src/superio/winbond/w83697hf/Kconfig | 20 ++++++++++++
src/superio/winbond/w83977tf/Kconfig | 20 ++++++++++++
src/superio/winbond/wpcd376i/Kconfig | 20 ++++++++++++
72 files changed, 1203 insertions(+), 318 deletions(-)
diff --git a/src/Kconfig b/src/Kconfig
index 6911f93..852d6dd 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -445,7 +445,7 @@ source "src/northbridge/*/*/Kconfig"
comment "Southbridge"
source "src/southbridge/*/*/Kconfig"
comment "Super I/O"
-source "src/superio/*/Kconfig"
+source "src/superio/*/*/Kconfig"
comment "Embedded Controllers"
source "src/ec/acpi/Kconfig"
source "src/ec/*/*/Kconfig"
diff --git a/src/superio/fintek/Kconfig b/src/superio/fintek/Kconfig
deleted file mode 100644
index 724c317..0000000
--- a/src/superio/fintek/Kconfig
+++ /dev/null
@@ -1,52 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
-##
-## 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.
-##
-
-# Generic Fintek romstage driver - Just enough UART initialisation code for
-# romstage.
-config SUPERIO_FINTEK_COMMON_ROMSTAGE
- bool
-
-config SUPERIO_FINTEK_F71805F
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71859
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71863FG
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71869AD
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71872
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F81216H
- bool
-# N.B. 'special romstage'
-
-config SUPERIO_FINTEK_F81865F
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F81866D
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
diff --git a/src/superio/fintek/common/Kconfig b/src/superio/fintek/common/Kconfig
new file mode 100644
index 0000000..bab9161
--- /dev/null
+++ b/src/superio/fintek/common/Kconfig
@@ -0,0 +1,21 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+# Generic Fintek romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_FINTEK_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/fintek/f71805f/Kconfig b/src/superio/fintek/f71805f/Kconfig
new file mode 100644
index 0000000..175c057
--- /dev/null
+++ b/src/superio/fintek/f71805f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71805F
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71859/Kconfig b/src/superio/fintek/f71859/Kconfig
new file mode 100644
index 0000000..91cf824
--- /dev/null
+++ b/src/superio/fintek/f71859/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71859
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71863fg/Kconfig b/src/superio/fintek/f71863fg/Kconfig
new file mode 100644
index 0000000..6e1d0ad
--- /dev/null
+++ b/src/superio/fintek/f71863fg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71863FG
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71869ad/Kconfig b/src/superio/fintek/f71869ad/Kconfig
new file mode 100644
index 0000000..b30b6df
--- /dev/null
+++ b/src/superio/fintek/f71869ad/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71869AD
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71872/Kconfig b/src/superio/fintek/f71872/Kconfig
new file mode 100644
index 0000000..7d6333a
--- /dev/null
+++ b/src/superio/fintek/f71872/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71872
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f81216h/Kconfig b/src/superio/fintek/f81216h/Kconfig
new file mode 100644
index 0000000..0b8a4de
--- /dev/null
+++ b/src/superio/fintek/f81216h/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F81216H
+ bool
+# N.B. 'special romstage'
+
diff --git a/src/superio/fintek/f81865f/Kconfig b/src/superio/fintek/f81865f/Kconfig
new file mode 100644
index 0000000..0b9f086
--- /dev/null
+++ b/src/superio/fintek/f81865f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F81865F
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f81866d/Kconfig b/src/superio/fintek/f81866d/Kconfig
new file mode 100644
index 0000000..f15af86
--- /dev/null
+++ b/src/superio/fintek/f81866d/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F81866D
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/intel/Kconfig b/src/superio/intel/Kconfig
deleted file mode 100644
index b41d24e..0000000
--- a/src/superio/intel/Kconfig
+++ /dev/null
@@ -1,20 +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.
-##
-
-config SUPERIO_INTEL_I3100
- bool
-
-config SUPERIO_INTEL_I8900
- bool
diff --git a/src/superio/intel/i3100/Kconfig b/src/superio/intel/i3100/Kconfig
new file mode 100644
index 0000000..06e6d14
--- /dev/null
+++ b/src/superio/intel/i3100/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_INTEL_I3100
+ bool
+
diff --git a/src/superio/intel/i8900/Kconfig b/src/superio/intel/i8900/Kconfig
new file mode 100644
index 0000000..338adb9
--- /dev/null
+++ b/src/superio/intel/i8900/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_INTEL_I8900
+ bool
+
diff --git a/src/superio/ite/Kconfig b/src/superio/ite/Kconfig
deleted file mode 100644
index 9a38d0b..0000000
--- a/src/superio/ite/Kconfig
+++ /dev/null
@@ -1,54 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
-##
-## 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.
-##
-
-# Generic ITE romstage driver - Just enough UART initialisation code for
-# romstage.
-config SUPERIO_ITE_COMMON_ROMSTAGE
- bool
-
-config SUPERIO_ITE_IT8671F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8712F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8716F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
- bool
- depends on SUPERIO_ITE_IT8716F
- default n
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8718F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8721F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8728F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8772F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
diff --git a/src/superio/ite/common/Kconfig b/src/superio/ite/common/Kconfig
new file mode 100644
index 0000000..def3fc5
--- /dev/null
+++ b/src/superio/ite/common/Kconfig
@@ -0,0 +1,21 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+# Generic ITE romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_ITE_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/ite/it8671f/Kconfig b/src/superio/ite/it8671f/Kconfig
new file mode 100644
index 0000000..0da2ad0
--- /dev/null
+++ b/src/superio/ite/it8671f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8671F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8712f/Kconfig b/src/superio/ite/it8712f/Kconfig
new file mode 100644
index 0000000..1dc186e
--- /dev/null
+++ b/src/superio/ite/it8712f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8712F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8716f/Kconfig b/src/superio/ite/it8716f/Kconfig
new file mode 100644
index 0000000..5ac47b0
--- /dev/null
+++ b/src/superio/ite/it8716f/Kconfig
@@ -0,0 +1,26 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8716F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
+config SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
+ bool
+ depends on SUPERIO_ITE_IT8716F
+ default n
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8718f/Kconfig b/src/superio/ite/it8718f/Kconfig
new file mode 100644
index 0000000..398603f
--- /dev/null
+++ b/src/superio/ite/it8718f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8718F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8721f/Kconfig b/src/superio/ite/it8721f/Kconfig
new file mode 100644
index 0000000..fbe3df2
--- /dev/null
+++ b/src/superio/ite/it8721f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8721F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8728f/Kconfig b/src/superio/ite/it8728f/Kconfig
new file mode 100644
index 0000000..54d64cb
--- /dev/null
+++ b/src/superio/ite/it8728f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8728F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8772f/Kconfig b/src/superio/ite/it8772f/Kconfig
new file mode 100644
index 0000000..6ac64e1
--- /dev/null
+++ b/src/superio/ite/it8772f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8772F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/nsc/Kconfig b/src/superio/nsc/Kconfig
deleted file mode 100644
index bf793a3..0000000
--- a/src/superio/nsc/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.
-##
-
-
-config SUPERIO_NSC_PC87309
- bool
-config SUPERIO_NSC_PC87360
- bool
-config SUPERIO_NSC_PC87366
- bool
-config SUPERIO_NSC_PC87382
- bool
-config SUPERIO_NSC_PC87384
- bool
-config SUPERIO_NSC_PC87392
- bool
-config SUPERIO_NSC_PC87417
- bool
-config SUPERIO_NSC_PC97317
- bool
diff --git a/src/superio/nsc/pc87309/Kconfig b/src/superio/nsc/pc87309/Kconfig
new file mode 100644
index 0000000..4a83321
--- /dev/null
+++ b/src/superio/nsc/pc87309/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87309
+ bool
+
diff --git a/src/superio/nsc/pc87360/Kconfig b/src/superio/nsc/pc87360/Kconfig
new file mode 100644
index 0000000..41fc20a
--- /dev/null
+++ b/src/superio/nsc/pc87360/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87360
+ bool
+
diff --git a/src/superio/nsc/pc87366/Kconfig b/src/superio/nsc/pc87366/Kconfig
new file mode 100644
index 0000000..6609acc
--- /dev/null
+++ b/src/superio/nsc/pc87366/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87366
+ bool
+
diff --git a/src/superio/nsc/pc87382/Kconfig b/src/superio/nsc/pc87382/Kconfig
new file mode 100644
index 0000000..d8ad326
--- /dev/null
+++ b/src/superio/nsc/pc87382/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87382
+ bool
+
diff --git a/src/superio/nsc/pc87384/Kconfig b/src/superio/nsc/pc87384/Kconfig
new file mode 100644
index 0000000..f1498e1
--- /dev/null
+++ b/src/superio/nsc/pc87384/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87384
+ bool
+
diff --git a/src/superio/nsc/pc87392/Kconfig b/src/superio/nsc/pc87392/Kconfig
new file mode 100644
index 0000000..0d28898
--- /dev/null
+++ b/src/superio/nsc/pc87392/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87392
+ bool
+
diff --git a/src/superio/nsc/pc87417/Kconfig b/src/superio/nsc/pc87417/Kconfig
new file mode 100644
index 0000000..0864526
--- /dev/null
+++ b/src/superio/nsc/pc87417/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87417
+ bool
+
diff --git a/src/superio/nsc/pc97317/Kconfig b/src/superio/nsc/pc97317/Kconfig
new file mode 100644
index 0000000..c037b76
--- /dev/null
+++ b/src/superio/nsc/pc97317/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC97317
+ bool
+
diff --git a/src/superio/nuvoton/common/Kconfig b/src/superio/nuvoton/common/Kconfig
new file mode 100644
index 0000000..317491c
--- /dev/null
+++ b/src/superio/nuvoton/common/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+# Generic Nuvoton romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_NUVOTON_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/nuvoton/nct5104d/Kconfig b/src/superio/nuvoton/nct5104d/Kconfig
new file mode 100644
index 0000000..246edb6
--- /dev/null
+++ b/src/superio/nuvoton/nct5104d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_NCT5104D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/nct5572d/Kconfig b/src/superio/nuvoton/nct5572d/Kconfig
new file mode 100644
index 0000000..d4b6d6d
--- /dev/null
+++ b/src/superio/nuvoton/nct5572d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_NCT5572D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/nct6779d/Kconfig b/src/superio/nuvoton/nct6779d/Kconfig
new file mode 100644
index 0000000..3a38024
--- /dev/null
+++ b/src/superio/nuvoton/nct6779d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_NCT6779D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/nct6791d/Kconfig b/src/superio/nuvoton/nct6791d/Kconfig
new file mode 100644
index 0000000..77c530d
--- /dev/null
+++ b/src/superio/nuvoton/nct6791d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2016 Omar Pakker <omarpakker+coreboot(a)gmail.com>
+##
+## 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.
+##
+
+config SUPERIO_NUVOTON_NCT6791D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/wpcm450/Kconfig b/src/superio/nuvoton/wpcm450/Kconfig
new file mode 100644
index 0000000..fe268cf
--- /dev/null
+++ b/src/superio/nuvoton/wpcm450/Kconfig
@@ -0,0 +1,18 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_WPCM450
+ bool
+
diff --git a/src/superio/renesas/Kconfig b/src/superio/renesas/Kconfig
deleted file mode 100644
index 8f48abb..0000000
--- a/src/superio/renesas/Kconfig
+++ /dev/null
@@ -1,17 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 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.
-##
-
-config SUPERIO_RENESAS_M3885X
- bool
diff --git a/src/superio/renesas/m3885x/Kconfig b/src/superio/renesas/m3885x/Kconfig
new file mode 100644
index 0000000..8f48abb
--- /dev/null
+++ b/src/superio/renesas/m3885x/Kconfig
@@ -0,0 +1,17 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 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.
+##
+
+config SUPERIO_RENESAS_M3885X
+ bool
diff --git a/src/superio/serverengines/Kconfig b/src/superio/serverengines/Kconfig
deleted file mode 100644
index 53624a1..0000000
--- a/src/superio/serverengines/Kconfig
+++ /dev/null
@@ -1,17 +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.
-##
-
-config SUPERIO_SERVERENGINES_PILOT
- bool
diff --git a/src/superio/serverengines/pilot/Kconfig b/src/superio/serverengines/pilot/Kconfig
new file mode 100644
index 0000000..53624a1
--- /dev/null
+++ b/src/superio/serverengines/pilot/Kconfig
@@ -0,0 +1,17 @@
+##
+## 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.
+##
+
+config SUPERIO_SERVERENGINES_PILOT
+ bool
diff --git a/src/superio/smsc/Kconfig b/src/superio/smsc/Kconfig
deleted file mode 100644
index 0bab195..0000000
--- a/src/superio/smsc/Kconfig
+++ /dev/null
@@ -1,52 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2012 Advanced Micro Devices, 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.
-##
-
-config SUPERIO_WANTS_14MHZ_CLOCK
- bool
-
-config SUPERIO_SMSC_DME1737
- bool
-config SUPERIO_SMSC_FDC37N972
- bool
-config SUPERIO_SMSC_LPC47B272
- bool
-config SUPERIO_SMSC_LPC47B397
- bool
-config SUPERIO_SMSC_LPC47M10X
- bool
-config SUPERIO_SMSC_LPC47M15X
- bool
-config SUPERIO_SMSC_LPC47N207
- bool
-config SUPERIO_SMSC_LPC47N217
- bool
-config SUPERIO_SMSC_LPC47N227
- bool
-config SUPERIO_SMSC_SIO10N268
- bool
-config SUPERIO_SMSC_SIO1007
- bool
-config SUPERIO_SMSC_KBC1100
- bool
-config SUPERIO_SMSC_MEC1308
- bool
-config SUPERIO_SMSC_SMSCSUPERIO
- bool
- select SUPERIO_WANTS_14MHZ_CLOCK
-config SUPERIO_SMSC_SIO1036
- bool
-config SUPERIO_SMSC_SCH4037
- bool
diff --git a/src/superio/smsc/dme1737/Kconfig b/src/superio/smsc/dme1737/Kconfig
new file mode 100644
index 0000000..07aa8bd
--- /dev/null
+++ b/src/superio/smsc/dme1737/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_DME1737
+ bool
+
diff --git a/src/superio/smsc/fdc37n972/Kconfig b/src/superio/smsc/fdc37n972/Kconfig
new file mode 100644
index 0000000..9653657
--- /dev/null
+++ b/src/superio/smsc/fdc37n972/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_FDC37N972
+ bool
+
diff --git a/src/superio/smsc/kbc1100/Kconfig b/src/superio/smsc/kbc1100/Kconfig
new file mode 100644
index 0000000..967bcf2
--- /dev/null
+++ b/src/superio/smsc/kbc1100/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_KBC1100
+ bool
+
diff --git a/src/superio/smsc/lpc47b272/Kconfig b/src/superio/smsc/lpc47b272/Kconfig
new file mode 100644
index 0000000..f83954b
--- /dev/null
+++ b/src/superio/smsc/lpc47b272/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47B272
+ bool
+
diff --git a/src/superio/smsc/lpc47b397/Kconfig b/src/superio/smsc/lpc47b397/Kconfig
new file mode 100644
index 0000000..e1863c2
--- /dev/null
+++ b/src/superio/smsc/lpc47b397/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47B397
+ bool
+
diff --git a/src/superio/smsc/lpc47m10x/Kconfig b/src/superio/smsc/lpc47m10x/Kconfig
new file mode 100644
index 0000000..0412f29
--- /dev/null
+++ b/src/superio/smsc/lpc47m10x/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47M10X
+ bool
+
diff --git a/src/superio/smsc/lpc47m15x/Kconfig b/src/superio/smsc/lpc47m15x/Kconfig
new file mode 100644
index 0000000..4810048
--- /dev/null
+++ b/src/superio/smsc/lpc47m15x/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47M15X
+ bool
+
diff --git a/src/superio/smsc/lpc47n207/Kconfig b/src/superio/smsc/lpc47n207/Kconfig
new file mode 100644
index 0000000..4956b10
--- /dev/null
+++ b/src/superio/smsc/lpc47n207/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47N207
+ bool
+
diff --git a/src/superio/smsc/lpc47n217/Kconfig b/src/superio/smsc/lpc47n217/Kconfig
new file mode 100644
index 0000000..f498209
--- /dev/null
+++ b/src/superio/smsc/lpc47n217/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47N217
+ bool
+
diff --git a/src/superio/smsc/lpc47n227/Kconfig b/src/superio/smsc/lpc47n227/Kconfig
new file mode 100644
index 0000000..4cceed1
--- /dev/null
+++ b/src/superio/smsc/lpc47n227/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47N227
+ bool
+
diff --git a/src/superio/smsc/mec1308/Kconfig b/src/superio/smsc/mec1308/Kconfig
new file mode 100644
index 0000000..a8fb43b
--- /dev/null
+++ b/src/superio/smsc/mec1308/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_MEC1308
+ bool
+
diff --git a/src/superio/smsc/sch4037/Kconfig b/src/superio/smsc/sch4037/Kconfig
new file mode 100644
index 0000000..966720c
--- /dev/null
+++ b/src/superio/smsc/sch4037/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SCH4037
+ bool
+
diff --git a/src/superio/smsc/sio1007/Kconfig b/src/superio/smsc/sio1007/Kconfig
new file mode 100644
index 0000000..9771edb
--- /dev/null
+++ b/src/superio/smsc/sio1007/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SIO1007
+ bool
+
diff --git a/src/superio/smsc/sio1036/Kconfig b/src/superio/smsc/sio1036/Kconfig
new file mode 100644
index 0000000..a0e3cf6
--- /dev/null
+++ b/src/superio/smsc/sio1036/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SIO1036
+ bool
+
diff --git a/src/superio/smsc/sio10n268/Kconfig b/src/superio/smsc/sio10n268/Kconfig
new file mode 100644
index 0000000..0526464
--- /dev/null
+++ b/src/superio/smsc/sio10n268/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SIO10N268
+ bool
+
diff --git a/src/superio/smsc/smscsuperio/Kconfig b/src/superio/smsc/smscsuperio/Kconfig
new file mode 100644
index 0000000..0b8bac2
--- /dev/null
+++ b/src/superio/smsc/smscsuperio/Kconfig
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_WANTS_14MHZ_CLOCK
+ bool
+
+config SUPERIO_SMSC_SMSCSUPERIO
+ bool
+ select SUPERIO_WANTS_14MHZ_CLOCK
+
diff --git a/src/superio/via/Kconfig b/src/superio/via/Kconfig
deleted file mode 100644
index b2de1d3..0000000
--- a/src/superio/via/Kconfig
+++ /dev/null
@@ -1,17 +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.
-##
-
-config SUPERIO_VIA_VT1211
- bool
diff --git a/src/superio/via/vt1211/Kconfig b/src/superio/via/vt1211/Kconfig
new file mode 100644
index 0000000..b2de1d3
--- /dev/null
+++ b/src/superio/via/vt1211/Kconfig
@@ -0,0 +1,17 @@
+##
+## 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.
+##
+
+config SUPERIO_VIA_VT1211
+ bool
diff --git a/src/superio/winbond/Kconfig b/src/superio/winbond/Kconfig
deleted file mode 100644
index 1731a7f..0000000
--- a/src/superio/winbond/Kconfig
+++ /dev/null
@@ -1,56 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
-##
-## 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.
-##
-
-# Generic Winbond romstage driver - Just enough UART initialisation code for
-# romstage.
-config SUPERIO_WINBOND_COMMON_ROMSTAGE
- bool
-
-config SUPERIO_WINBOND_W83627DHG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627EHG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627HF
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627THG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627UHG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83667HG_A
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83697HF
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83977TF
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_WPCD376I
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
diff --git a/src/superio/winbond/common/Kconfig b/src/superio/winbond/common/Kconfig
new file mode 100644
index 0000000..26163dd
--- /dev/null
+++ b/src/superio/winbond/common/Kconfig
@@ -0,0 +1,21 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+# Generic Winbond romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_WINBOND_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/winbond/w83627dhg/Kconfig b/src/superio/winbond/w83627dhg/Kconfig
new file mode 100644
index 0000000..7ea6cb5
--- /dev/null
+++ b/src/superio/winbond/w83627dhg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627DHG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627ehg/Kconfig b/src/superio/winbond/w83627ehg/Kconfig
new file mode 100644
index 0000000..7c65827
--- /dev/null
+++ b/src/superio/winbond/w83627ehg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627EHG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627hf/Kconfig b/src/superio/winbond/w83627hf/Kconfig
new file mode 100644
index 0000000..82a5110
--- /dev/null
+++ b/src/superio/winbond/w83627hf/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627HF
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627thg/Kconfig b/src/superio/winbond/w83627thg/Kconfig
new file mode 100644
index 0000000..e7d54ab
--- /dev/null
+++ b/src/superio/winbond/w83627thg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627THG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627uhg/Kconfig b/src/superio/winbond/w83627uhg/Kconfig
new file mode 100644
index 0000000..be79117
--- /dev/null
+++ b/src/superio/winbond/w83627uhg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627UHG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83667hg-a/Kconfig b/src/superio/winbond/w83667hg-a/Kconfig
new file mode 100644
index 0000000..5606fdc
--- /dev/null
+++ b/src/superio/winbond/w83667hg-a/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83667HG_A
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83697hf/Kconfig b/src/superio/winbond/w83697hf/Kconfig
new file mode 100644
index 0000000..1a55fea
--- /dev/null
+++ b/src/superio/winbond/w83697hf/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83697HF
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83977tf/Kconfig b/src/superio/winbond/w83977tf/Kconfig
new file mode 100644
index 0000000..dd51efc
--- /dev/null
+++ b/src/superio/winbond/w83977tf/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83977TF
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/wpcd376i/Kconfig b/src/superio/winbond/wpcd376i/Kconfig
new file mode 100644
index 0000000..f9a3327
--- /dev/null
+++ b/src/superio/winbond/wpcd376i/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_WPCD376I
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
Omar Pakker just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15970
-gerrit
commit 772561860e12b364e0c610a96ea4dcfaacf6b90a
Author: Omar Pakker <omarpakker+coreboot(a)gmail.com>
Date: Fri Jul 29 22:29:44 2016 +0200
superio/*: Relocate Kconfig to chip folder.
This moves the Kconfig from the Super I/O manufacturer folder
to the chip folder instead.
This makes new chip commits self-contained unit as
edits to the central Kconfig file are no longer required.
Change-Id: Ife2bd9b88c468a39e5803ba1acb00eef654ba16f
---
src/Kconfig | 2 +-
src/superio/fintek/Kconfig | 52 ------------------------------
src/superio/fintek/common/Kconfig | 21 +++++++++++++
src/superio/fintek/f71805f/Kconfig | 20 ++++++++++++
src/superio/fintek/f71859/Kconfig | 20 ++++++++++++
src/superio/fintek/f71863fg/Kconfig | 20 ++++++++++++
src/superio/fintek/f71869ad/Kconfig | 20 ++++++++++++
src/superio/fintek/f71872/Kconfig | 20 ++++++++++++
src/superio/fintek/f81216h/Kconfig | 20 ++++++++++++
src/superio/fintek/f81865f/Kconfig | 20 ++++++++++++
src/superio/fintek/f81866d/Kconfig | 20 ++++++++++++
src/superio/intel/Kconfig | 20 ------------
src/superio/intel/i3100/Kconfig | 18 +++++++++++
src/superio/intel/i8900/Kconfig | 18 +++++++++++
src/superio/ite/Kconfig | 54 -------------------------------
src/superio/ite/common/Kconfig | 21 +++++++++++++
src/superio/ite/it8671f/Kconfig | 20 ++++++++++++
src/superio/ite/it8712f/Kconfig | 20 ++++++++++++
src/superio/ite/it8716f/Kconfig | 26 +++++++++++++++
src/superio/ite/it8718f/Kconfig | 20 ++++++++++++
src/superio/ite/it8721f/Kconfig | 20 ++++++++++++
src/superio/ite/it8728f/Kconfig | 20 ++++++++++++
src/superio/ite/it8772f/Kconfig | 20 ++++++++++++
src/superio/nsc/Kconfig | 32 -------------------
src/superio/nsc/pc87309/Kconfig | 18 +++++++++++
src/superio/nsc/pc87360/Kconfig | 18 +++++++++++
src/superio/nsc/pc87366/Kconfig | 18 +++++++++++
src/superio/nsc/pc87382/Kconfig | 18 +++++++++++
src/superio/nsc/pc87384/Kconfig | 18 +++++++++++
src/superio/nsc/pc87392/Kconfig | 18 +++++++++++
src/superio/nsc/pc87417/Kconfig | 18 +++++++++++
src/superio/nsc/pc97317/Kconfig | 18 +++++++++++
src/superio/nuvoton/common/Kconfig | 20 ++++++++++++
src/superio/nuvoton/nct5104d/Kconfig | 19 +++++++++++
src/superio/nuvoton/nct5572d/Kconfig | 19 +++++++++++
src/superio/nuvoton/nct6779d/Kconfig | 19 +++++++++++
src/superio/nuvoton/nct6791d/Kconfig | 19 +++++++++++
src/superio/nuvoton/wpcm450/Kconfig | 18 +++++++++++
src/superio/renesas/Kconfig | 17 ----------
src/superio/renesas/m3885x/Kconfig | 17 ++++++++++
src/superio/serverengines/Kconfig | 17 ----------
src/superio/serverengines/pilot/Kconfig | 17 ++++++++++
src/superio/smsc/Kconfig | 52 ------------------------------
src/superio/smsc/dme1737/Kconfig | 19 +++++++++++
src/superio/smsc/fdc37n972/Kconfig | 19 +++++++++++
src/superio/smsc/kbc1100/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47b272/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47b397/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47m10x/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47m15x/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47n207/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47n217/Kconfig | 19 +++++++++++
src/superio/smsc/lpc47n227/Kconfig | 19 +++++++++++
src/superio/smsc/mec1308/Kconfig | 19 +++++++++++
src/superio/smsc/sch4037/Kconfig | 19 +++++++++++
src/superio/smsc/sio1007/Kconfig | 19 +++++++++++
src/superio/smsc/sio1036/Kconfig | 19 +++++++++++
src/superio/smsc/sio10n268/Kconfig | 19 +++++++++++
src/superio/smsc/smscsuperio/Kconfig | 23 ++++++++++++++
src/superio/via/Kconfig | 17 ----------
src/superio/via/vt1211/Kconfig | 17 ++++++++++
src/superio/winbond/Kconfig | 56 ---------------------------------
src/superio/winbond/common/Kconfig | 21 +++++++++++++
src/superio/winbond/w83627dhg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627ehg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627hf/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627thg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83627uhg/Kconfig | 20 ++++++++++++
src/superio/winbond/w83667hg-a/Kconfig | 20 ++++++++++++
src/superio/winbond/w83697hf/Kconfig | 20 ++++++++++++
src/superio/winbond/w83977tf/Kconfig | 20 ++++++++++++
src/superio/winbond/wpcd376i/Kconfig | 20 ++++++++++++
72 files changed, 1203 insertions(+), 318 deletions(-)
diff --git a/src/Kconfig b/src/Kconfig
index 6911f93..852d6dd 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -445,7 +445,7 @@ source "src/northbridge/*/*/Kconfig"
comment "Southbridge"
source "src/southbridge/*/*/Kconfig"
comment "Super I/O"
-source "src/superio/*/Kconfig"
+source "src/superio/*/*/Kconfig"
comment "Embedded Controllers"
source "src/ec/acpi/Kconfig"
source "src/ec/*/*/Kconfig"
diff --git a/src/superio/fintek/Kconfig b/src/superio/fintek/Kconfig
deleted file mode 100644
index 724c317..0000000
--- a/src/superio/fintek/Kconfig
+++ /dev/null
@@ -1,52 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
-##
-## 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.
-##
-
-# Generic Fintek romstage driver - Just enough UART initialisation code for
-# romstage.
-config SUPERIO_FINTEK_COMMON_ROMSTAGE
- bool
-
-config SUPERIO_FINTEK_F71805F
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71859
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71863FG
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71869AD
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F71872
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F81216H
- bool
-# N.B. 'special romstage'
-
-config SUPERIO_FINTEK_F81865F
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
-
-config SUPERIO_FINTEK_F81866D
- bool
- select SUPERIO_FINTEK_COMMON_ROMSTAGE
diff --git a/src/superio/fintek/common/Kconfig b/src/superio/fintek/common/Kconfig
new file mode 100644
index 0000000..bab9161
--- /dev/null
+++ b/src/superio/fintek/common/Kconfig
@@ -0,0 +1,21 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+# Generic Fintek romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_FINTEK_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/fintek/f71805f/Kconfig b/src/superio/fintek/f71805f/Kconfig
new file mode 100644
index 0000000..175c057
--- /dev/null
+++ b/src/superio/fintek/f71805f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71805F
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71859/Kconfig b/src/superio/fintek/f71859/Kconfig
new file mode 100644
index 0000000..91cf824
--- /dev/null
+++ b/src/superio/fintek/f71859/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71859
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71863fg/Kconfig b/src/superio/fintek/f71863fg/Kconfig
new file mode 100644
index 0000000..6e1d0ad
--- /dev/null
+++ b/src/superio/fintek/f71863fg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71863FG
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71869ad/Kconfig b/src/superio/fintek/f71869ad/Kconfig
new file mode 100644
index 0000000..b30b6df
--- /dev/null
+++ b/src/superio/fintek/f71869ad/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71869AD
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f71872/Kconfig b/src/superio/fintek/f71872/Kconfig
new file mode 100644
index 0000000..7d6333a
--- /dev/null
+++ b/src/superio/fintek/f71872/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F71872
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f81216h/Kconfig b/src/superio/fintek/f81216h/Kconfig
new file mode 100644
index 0000000..0b8a4de
--- /dev/null
+++ b/src/superio/fintek/f81216h/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F81216H
+ bool
+# N.B. 'special romstage'
+
diff --git a/src/superio/fintek/f81865f/Kconfig b/src/superio/fintek/f81865f/Kconfig
new file mode 100644
index 0000000..0b9f086
--- /dev/null
+++ b/src/superio/fintek/f81865f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F81865F
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/fintek/f81866d/Kconfig b/src/superio/fintek/f81866d/Kconfig
new file mode 100644
index 0000000..f15af86
--- /dev/null
+++ b/src/superio/fintek/f81866d/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_FINTEK_F81866D
+ bool
+ select SUPERIO_FINTEK_COMMON_ROMSTAGE
+
diff --git a/src/superio/intel/Kconfig b/src/superio/intel/Kconfig
deleted file mode 100644
index b41d24e..0000000
--- a/src/superio/intel/Kconfig
+++ /dev/null
@@ -1,20 +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.
-##
-
-config SUPERIO_INTEL_I3100
- bool
-
-config SUPERIO_INTEL_I8900
- bool
diff --git a/src/superio/intel/i3100/Kconfig b/src/superio/intel/i3100/Kconfig
new file mode 100644
index 0000000..06e6d14
--- /dev/null
+++ b/src/superio/intel/i3100/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_INTEL_I3100
+ bool
+
diff --git a/src/superio/intel/i8900/Kconfig b/src/superio/intel/i8900/Kconfig
new file mode 100644
index 0000000..338adb9
--- /dev/null
+++ b/src/superio/intel/i8900/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_INTEL_I8900
+ bool
+
diff --git a/src/superio/ite/Kconfig b/src/superio/ite/Kconfig
deleted file mode 100644
index 9a38d0b..0000000
--- a/src/superio/ite/Kconfig
+++ /dev/null
@@ -1,54 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
-##
-## 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.
-##
-
-# Generic ITE romstage driver - Just enough UART initialisation code for
-# romstage.
-config SUPERIO_ITE_COMMON_ROMSTAGE
- bool
-
-config SUPERIO_ITE_IT8671F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8712F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8716F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
- bool
- depends on SUPERIO_ITE_IT8716F
- default n
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8718F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8721F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8728F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
-
-config SUPERIO_ITE_IT8772F
- bool
- select SUPERIO_ITE_COMMON_ROMSTAGE
diff --git a/src/superio/ite/common/Kconfig b/src/superio/ite/common/Kconfig
new file mode 100644
index 0000000..def3fc5
--- /dev/null
+++ b/src/superio/ite/common/Kconfig
@@ -0,0 +1,21 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+# Generic ITE romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_ITE_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/ite/it8671f/Kconfig b/src/superio/ite/it8671f/Kconfig
new file mode 100644
index 0000000..0da2ad0
--- /dev/null
+++ b/src/superio/ite/it8671f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8671F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8712f/Kconfig b/src/superio/ite/it8712f/Kconfig
new file mode 100644
index 0000000..1dc186e
--- /dev/null
+++ b/src/superio/ite/it8712f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8712F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8716f/Kconfig b/src/superio/ite/it8716f/Kconfig
new file mode 100644
index 0000000..5ac47b0
--- /dev/null
+++ b/src/superio/ite/it8716f/Kconfig
@@ -0,0 +1,26 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8716F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
+config SUPERIO_ITE_IT8716F_OVERRIDE_FANCTL
+ bool
+ depends on SUPERIO_ITE_IT8716F
+ default n
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8718f/Kconfig b/src/superio/ite/it8718f/Kconfig
new file mode 100644
index 0000000..398603f
--- /dev/null
+++ b/src/superio/ite/it8718f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8718F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8721f/Kconfig b/src/superio/ite/it8721f/Kconfig
new file mode 100644
index 0000000..fbe3df2
--- /dev/null
+++ b/src/superio/ite/it8721f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8721F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8728f/Kconfig b/src/superio/ite/it8728f/Kconfig
new file mode 100644
index 0000000..54d64cb
--- /dev/null
+++ b/src/superio/ite/it8728f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8728F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/ite/it8772f/Kconfig b/src/superio/ite/it8772f/Kconfig
new file mode 100644
index 0000000..6ac64e1
--- /dev/null
+++ b/src/superio/ite/it8772f/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_ITE_IT8772F
+ bool
+ select SUPERIO_ITE_COMMON_ROMSTAGE
+
diff --git a/src/superio/nsc/Kconfig b/src/superio/nsc/Kconfig
deleted file mode 100644
index bf793a3..0000000
--- a/src/superio/nsc/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.
-##
-
-
-config SUPERIO_NSC_PC87309
- bool
-config SUPERIO_NSC_PC87360
- bool
-config SUPERIO_NSC_PC87366
- bool
-config SUPERIO_NSC_PC87382
- bool
-config SUPERIO_NSC_PC87384
- bool
-config SUPERIO_NSC_PC87392
- bool
-config SUPERIO_NSC_PC87417
- bool
-config SUPERIO_NSC_PC97317
- bool
diff --git a/src/superio/nsc/pc87309/Kconfig b/src/superio/nsc/pc87309/Kconfig
new file mode 100644
index 0000000..4a83321
--- /dev/null
+++ b/src/superio/nsc/pc87309/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87309
+ bool
+
diff --git a/src/superio/nsc/pc87360/Kconfig b/src/superio/nsc/pc87360/Kconfig
new file mode 100644
index 0000000..41fc20a
--- /dev/null
+++ b/src/superio/nsc/pc87360/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87360
+ bool
+
diff --git a/src/superio/nsc/pc87366/Kconfig b/src/superio/nsc/pc87366/Kconfig
new file mode 100644
index 0000000..6609acc
--- /dev/null
+++ b/src/superio/nsc/pc87366/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87366
+ bool
+
diff --git a/src/superio/nsc/pc87382/Kconfig b/src/superio/nsc/pc87382/Kconfig
new file mode 100644
index 0000000..d8ad326
--- /dev/null
+++ b/src/superio/nsc/pc87382/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87382
+ bool
+
diff --git a/src/superio/nsc/pc87384/Kconfig b/src/superio/nsc/pc87384/Kconfig
new file mode 100644
index 0000000..f1498e1
--- /dev/null
+++ b/src/superio/nsc/pc87384/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87384
+ bool
+
diff --git a/src/superio/nsc/pc87392/Kconfig b/src/superio/nsc/pc87392/Kconfig
new file mode 100644
index 0000000..0d28898
--- /dev/null
+++ b/src/superio/nsc/pc87392/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87392
+ bool
+
diff --git a/src/superio/nsc/pc87417/Kconfig b/src/superio/nsc/pc87417/Kconfig
new file mode 100644
index 0000000..0864526
--- /dev/null
+++ b/src/superio/nsc/pc87417/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC87417
+ bool
+
diff --git a/src/superio/nsc/pc97317/Kconfig b/src/superio/nsc/pc97317/Kconfig
new file mode 100644
index 0000000..c037b76
--- /dev/null
+++ b/src/superio/nsc/pc97317/Kconfig
@@ -0,0 +1,18 @@
+##
+## 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.
+##
+
+config SUPERIO_NSC_PC97317
+ bool
+
diff --git a/src/superio/nuvoton/common/Kconfig b/src/superio/nuvoton/common/Kconfig
new file mode 100644
index 0000000..317491c
--- /dev/null
+++ b/src/superio/nuvoton/common/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+# Generic Nuvoton romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_NUVOTON_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/nuvoton/nct5104d/Kconfig b/src/superio/nuvoton/nct5104d/Kconfig
new file mode 100644
index 0000000..246edb6
--- /dev/null
+++ b/src/superio/nuvoton/nct5104d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_NCT5104D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/nct5572d/Kconfig b/src/superio/nuvoton/nct5572d/Kconfig
new file mode 100644
index 0000000..d4b6d6d
--- /dev/null
+++ b/src/superio/nuvoton/nct5572d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_NCT5572D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/nct6779d/Kconfig b/src/superio/nuvoton/nct6779d/Kconfig
new file mode 100644
index 0000000..3a38024
--- /dev/null
+++ b/src/superio/nuvoton/nct6779d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_NCT6779D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/nct6791d/Kconfig b/src/superio/nuvoton/nct6791d/Kconfig
new file mode 100644
index 0000000..77c530d
--- /dev/null
+++ b/src/superio/nuvoton/nct6791d/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2016 Omar Pakker <omarpakker+coreboot(a)gmail.com>
+##
+## 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.
+##
+
+config SUPERIO_NUVOTON_NCT6791D
+ bool
+ select SUPERIO_NUVOTON_COMMON_ROMSTAGE
+
diff --git a/src/superio/nuvoton/wpcm450/Kconfig b/src/superio/nuvoton/wpcm450/Kconfig
new file mode 100644
index 0000000..fe268cf
--- /dev/null
+++ b/src/superio/nuvoton/wpcm450/Kconfig
@@ -0,0 +1,18 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_NUVOTON_WPCM450
+ bool
+
diff --git a/src/superio/renesas/Kconfig b/src/superio/renesas/Kconfig
deleted file mode 100644
index 8f48abb..0000000
--- a/src/superio/renesas/Kconfig
+++ /dev/null
@@ -1,17 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 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.
-##
-
-config SUPERIO_RENESAS_M3885X
- bool
diff --git a/src/superio/renesas/m3885x/Kconfig b/src/superio/renesas/m3885x/Kconfig
new file mode 100644
index 0000000..8f48abb
--- /dev/null
+++ b/src/superio/renesas/m3885x/Kconfig
@@ -0,0 +1,17 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 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.
+##
+
+config SUPERIO_RENESAS_M3885X
+ bool
diff --git a/src/superio/serverengines/Kconfig b/src/superio/serverengines/Kconfig
deleted file mode 100644
index 53624a1..0000000
--- a/src/superio/serverengines/Kconfig
+++ /dev/null
@@ -1,17 +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.
-##
-
-config SUPERIO_SERVERENGINES_PILOT
- bool
diff --git a/src/superio/serverengines/pilot/Kconfig b/src/superio/serverengines/pilot/Kconfig
new file mode 100644
index 0000000..53624a1
--- /dev/null
+++ b/src/superio/serverengines/pilot/Kconfig
@@ -0,0 +1,17 @@
+##
+## 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.
+##
+
+config SUPERIO_SERVERENGINES_PILOT
+ bool
diff --git a/src/superio/smsc/Kconfig b/src/superio/smsc/Kconfig
deleted file mode 100644
index 0bab195..0000000
--- a/src/superio/smsc/Kconfig
+++ /dev/null
@@ -1,52 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2012 Advanced Micro Devices, 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.
-##
-
-config SUPERIO_WANTS_14MHZ_CLOCK
- bool
-
-config SUPERIO_SMSC_DME1737
- bool
-config SUPERIO_SMSC_FDC37N972
- bool
-config SUPERIO_SMSC_LPC47B272
- bool
-config SUPERIO_SMSC_LPC47B397
- bool
-config SUPERIO_SMSC_LPC47M10X
- bool
-config SUPERIO_SMSC_LPC47M15X
- bool
-config SUPERIO_SMSC_LPC47N207
- bool
-config SUPERIO_SMSC_LPC47N217
- bool
-config SUPERIO_SMSC_LPC47N227
- bool
-config SUPERIO_SMSC_SIO10N268
- bool
-config SUPERIO_SMSC_SIO1007
- bool
-config SUPERIO_SMSC_KBC1100
- bool
-config SUPERIO_SMSC_MEC1308
- bool
-config SUPERIO_SMSC_SMSCSUPERIO
- bool
- select SUPERIO_WANTS_14MHZ_CLOCK
-config SUPERIO_SMSC_SIO1036
- bool
-config SUPERIO_SMSC_SCH4037
- bool
diff --git a/src/superio/smsc/dme1737/Kconfig b/src/superio/smsc/dme1737/Kconfig
new file mode 100644
index 0000000..07aa8bd
--- /dev/null
+++ b/src/superio/smsc/dme1737/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_DME1737
+ bool
+
diff --git a/src/superio/smsc/fdc37n972/Kconfig b/src/superio/smsc/fdc37n972/Kconfig
new file mode 100644
index 0000000..9653657
--- /dev/null
+++ b/src/superio/smsc/fdc37n972/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_FDC37N972
+ bool
+
diff --git a/src/superio/smsc/kbc1100/Kconfig b/src/superio/smsc/kbc1100/Kconfig
new file mode 100644
index 0000000..967bcf2
--- /dev/null
+++ b/src/superio/smsc/kbc1100/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_KBC1100
+ bool
+
diff --git a/src/superio/smsc/lpc47b272/Kconfig b/src/superio/smsc/lpc47b272/Kconfig
new file mode 100644
index 0000000..f83954b
--- /dev/null
+++ b/src/superio/smsc/lpc47b272/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47B272
+ bool
+
diff --git a/src/superio/smsc/lpc47b397/Kconfig b/src/superio/smsc/lpc47b397/Kconfig
new file mode 100644
index 0000000..e1863c2
--- /dev/null
+++ b/src/superio/smsc/lpc47b397/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47B397
+ bool
+
diff --git a/src/superio/smsc/lpc47m10x/Kconfig b/src/superio/smsc/lpc47m10x/Kconfig
new file mode 100644
index 0000000..0412f29
--- /dev/null
+++ b/src/superio/smsc/lpc47m10x/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47M10X
+ bool
+
diff --git a/src/superio/smsc/lpc47m15x/Kconfig b/src/superio/smsc/lpc47m15x/Kconfig
new file mode 100644
index 0000000..4810048
--- /dev/null
+++ b/src/superio/smsc/lpc47m15x/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47M15X
+ bool
+
diff --git a/src/superio/smsc/lpc47n207/Kconfig b/src/superio/smsc/lpc47n207/Kconfig
new file mode 100644
index 0000000..4956b10
--- /dev/null
+++ b/src/superio/smsc/lpc47n207/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47N207
+ bool
+
diff --git a/src/superio/smsc/lpc47n217/Kconfig b/src/superio/smsc/lpc47n217/Kconfig
new file mode 100644
index 0000000..f498209
--- /dev/null
+++ b/src/superio/smsc/lpc47n217/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47N217
+ bool
+
diff --git a/src/superio/smsc/lpc47n227/Kconfig b/src/superio/smsc/lpc47n227/Kconfig
new file mode 100644
index 0000000..4cceed1
--- /dev/null
+++ b/src/superio/smsc/lpc47n227/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_LPC47N227
+ bool
+
diff --git a/src/superio/smsc/mec1308/Kconfig b/src/superio/smsc/mec1308/Kconfig
new file mode 100644
index 0000000..a8fb43b
--- /dev/null
+++ b/src/superio/smsc/mec1308/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_MEC1308
+ bool
+
diff --git a/src/superio/smsc/sch4037/Kconfig b/src/superio/smsc/sch4037/Kconfig
new file mode 100644
index 0000000..966720c
--- /dev/null
+++ b/src/superio/smsc/sch4037/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SCH4037
+ bool
+
diff --git a/src/superio/smsc/sio1007/Kconfig b/src/superio/smsc/sio1007/Kconfig
new file mode 100644
index 0000000..9771edb
--- /dev/null
+++ b/src/superio/smsc/sio1007/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SIO1007
+ bool
+
diff --git a/src/superio/smsc/sio1036/Kconfig b/src/superio/smsc/sio1036/Kconfig
new file mode 100644
index 0000000..a0e3cf6
--- /dev/null
+++ b/src/superio/smsc/sio1036/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SIO1036
+ bool
+
diff --git a/src/superio/smsc/sio10n268/Kconfig b/src/superio/smsc/sio10n268/Kconfig
new file mode 100644
index 0000000..0526464
--- /dev/null
+++ b/src/superio/smsc/sio10n268/Kconfig
@@ -0,0 +1,19 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_SMSC_SIO10N268
+ bool
+
diff --git a/src/superio/smsc/smscsuperio/Kconfig b/src/superio/smsc/smscsuperio/Kconfig
new file mode 100644
index 0000000..0b8bac2
--- /dev/null
+++ b/src/superio/smsc/smscsuperio/Kconfig
@@ -0,0 +1,23 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2012 Advanced Micro Devices, 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.
+##
+
+config SUPERIO_WANTS_14MHZ_CLOCK
+ bool
+
+config SUPERIO_SMSC_SMSCSUPERIO
+ bool
+ select SUPERIO_WANTS_14MHZ_CLOCK
+
diff --git a/src/superio/via/Kconfig b/src/superio/via/Kconfig
deleted file mode 100644
index b2de1d3..0000000
--- a/src/superio/via/Kconfig
+++ /dev/null
@@ -1,17 +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.
-##
-
-config SUPERIO_VIA_VT1211
- bool
diff --git a/src/superio/via/vt1211/Kconfig b/src/superio/via/vt1211/Kconfig
new file mode 100644
index 0000000..b2de1d3
--- /dev/null
+++ b/src/superio/via/vt1211/Kconfig
@@ -0,0 +1,17 @@
+##
+## 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.
+##
+
+config SUPERIO_VIA_VT1211
+ bool
diff --git a/src/superio/winbond/Kconfig b/src/superio/winbond/Kconfig
deleted file mode 100644
index 1731a7f..0000000
--- a/src/superio/winbond/Kconfig
+++ /dev/null
@@ -1,56 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2009 Ronald G. Minnich
-## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
-##
-## 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.
-##
-
-# Generic Winbond romstage driver - Just enough UART initialisation code for
-# romstage.
-config SUPERIO_WINBOND_COMMON_ROMSTAGE
- bool
-
-config SUPERIO_WINBOND_W83627DHG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627EHG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627HF
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627THG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83627UHG
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83667HG_A
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83697HF
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_W83977TF
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
-
-config SUPERIO_WINBOND_WPCD376I
- bool
- select SUPERIO_WINBOND_COMMON_ROMSTAGE
diff --git a/src/superio/winbond/common/Kconfig b/src/superio/winbond/common/Kconfig
new file mode 100644
index 0000000..26163dd
--- /dev/null
+++ b/src/superio/winbond/common/Kconfig
@@ -0,0 +1,21 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+# Generic Winbond romstage driver - Just enough UART initialisation code for
+# romstage.
+config SUPERIO_WINBOND_COMMON_ROMSTAGE
+ bool
+
diff --git a/src/superio/winbond/w83627dhg/Kconfig b/src/superio/winbond/w83627dhg/Kconfig
new file mode 100644
index 0000000..7ea6cb5
--- /dev/null
+++ b/src/superio/winbond/w83627dhg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627DHG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627ehg/Kconfig b/src/superio/winbond/w83627ehg/Kconfig
new file mode 100644
index 0000000..7c65827
--- /dev/null
+++ b/src/superio/winbond/w83627ehg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627EHG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627hf/Kconfig b/src/superio/winbond/w83627hf/Kconfig
new file mode 100644
index 0000000..82a5110
--- /dev/null
+++ b/src/superio/winbond/w83627hf/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627HF
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627thg/Kconfig b/src/superio/winbond/w83627thg/Kconfig
new file mode 100644
index 0000000..e7d54ab
--- /dev/null
+++ b/src/superio/winbond/w83627thg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627THG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83627uhg/Kconfig b/src/superio/winbond/w83627uhg/Kconfig
new file mode 100644
index 0000000..be79117
--- /dev/null
+++ b/src/superio/winbond/w83627uhg/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83627UHG
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83667hg-a/Kconfig b/src/superio/winbond/w83667hg-a/Kconfig
new file mode 100644
index 0000000..5606fdc
--- /dev/null
+++ b/src/superio/winbond/w83667hg-a/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83667HG_A
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83697hf/Kconfig b/src/superio/winbond/w83697hf/Kconfig
new file mode 100644
index 0000000..1a55fea
--- /dev/null
+++ b/src/superio/winbond/w83697hf/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83697HF
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/w83977tf/Kconfig b/src/superio/winbond/w83977tf/Kconfig
new file mode 100644
index 0000000..dd51efc
--- /dev/null
+++ b/src/superio/winbond/w83977tf/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_W83977TF
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
diff --git a/src/superio/winbond/wpcd376i/Kconfig b/src/superio/winbond/wpcd376i/Kconfig
new file mode 100644
index 0000000..f9a3327
--- /dev/null
+++ b/src/superio/winbond/wpcd376i/Kconfig
@@ -0,0 +1,20 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2009 Ronald G. Minnich
+## Copyright (C) 2014 Edward O'Callaghan <eocallaghan(a)alterapraxis.com>
+##
+## 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.
+##
+
+config SUPERIO_WINBOND_WPCD376I
+ bool
+ select SUPERIO_WINBOND_COMMON_ROMSTAGE
+
Omar Pakker just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15967
-gerrit
commit b5735bdb606628ea07ba3db9ca502ffd8b82e066
Author: Omar Pakker <omarpakker+coreboot(a)gmail.com>
Date: Fri Jul 29 19:05:33 2016 +0200
superio/nuvoton: Add Nuvoton NCT6791D
This adds support for Nuvoton NCT6791D Super I/O chips.
Makes use of the common Nuvoton early_serial.c.
Based on the Datasheet supplied by Nuvoton.
Datasheet Version: January 8th, 2016 Revision 1.11
Change-Id: I027d33b85f0dc6ee50deebdccaecc74487eecb40
Signed-off-by: Omar Pakker <omarpakker+coreboot(a)gmail.com>
---
src/superio/nuvoton/Kconfig | 34 -----------
src/superio/nuvoton/Makefile.inc | 1 +
src/superio/nuvoton/nct6791d/Makefile.inc | 16 ++++++
src/superio/nuvoton/nct6791d/nct6791d.h | 51 +++++++++++++++++
src/superio/nuvoton/nct6791d/superio.c | 95 +++++++++++++++++++++++++++++++
5 files changed, 163 insertions(+), 34 deletions(-)
diff --git a/src/superio/nuvoton/Kconfig b/src/superio/nuvoton/Kconfig
deleted file mode 100644
index ce7db26..0000000
--- a/src/superio/nuvoton/Kconfig
+++ /dev/null
@@ -1,34 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2011 Advanced Micro Devices, 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.
-##
-
-# Generic Nuvoton romstage driver - Just enough UART initialisation code for
-# romstage.
-config SUPERIO_NUVOTON_COMMON_ROMSTAGE
- bool
-
-config SUPERIO_NUVOTON_WPCM450
- bool
-
-config SUPERIO_NUVOTON_NCT5104D
- bool
- select SUPERIO_NUVOTON_COMMON_ROMSTAGE
-
-config SUPERIO_NUVOTON_NCT5572D
- bool
- select SUPERIO_NUVOTON_COMMON_ROMSTAGE
-
-config SUPERIO_NUVOTON_NCT6779D
- bool
- select SUPERIO_NUVOTON_COMMON_ROMSTAGE
diff --git a/src/superio/nuvoton/Makefile.inc b/src/superio/nuvoton/Makefile.inc
index eb3dd5d..94cc6b7 100644
--- a/src/superio/nuvoton/Makefile.inc
+++ b/src/superio/nuvoton/Makefile.inc
@@ -20,3 +20,4 @@ subdirs-$(CONFIG_SUPERIO_NUVOTON_WPCM450) += wpcm450
subdirs-$(CONFIG_SUPERIO_NUVOTON_NCT5104D) += nct5104d
subdirs-$(CONFIG_SUPERIO_NUVOTON_NCT5572D) += nct5572d
subdirs-$(CONFIG_SUPERIO_NUVOTON_NCT6779D) += nct6779d
+subdirs-$(CONFIG_SUPERIO_NUVOTON_NCT6791D) += nct6791d
diff --git a/src/superio/nuvoton/nct6791d/Makefile.inc b/src/superio/nuvoton/nct6791d/Makefile.inc
new file mode 100644
index 0000000..db5c620
--- /dev/null
+++ b/src/superio/nuvoton/nct6791d/Makefile.inc
@@ -0,0 +1,16 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2016 Omar Pakker <omarpakker+coreboot(a)gmail.com>
+##
+## 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.
+##
+
+ramstage-$(CONFIG_SUPERIO_NUVOTON_NCT6791D) += superio.c
diff --git a/src/superio/nuvoton/nct6791d/nct6791d.h b/src/superio/nuvoton/nct6791d/nct6791d.h
new file mode 100644
index 0000000..3eee433
--- /dev/null
+++ b/src/superio/nuvoton/nct6791d/nct6791d.h
@@ -0,0 +1,51 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2016 Omar Pakker <omarpakker+coreboot(a)gmail.com>
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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.
+ */
+
+#ifndef SUPERIO_NUVOTON_NCT6791D_H
+#define SUPERIO_NUVOTON_NCT6791D_H
+
+/* Logical Device Numbers (LDN). */
+#define NCT6791D_PP 0x01 /* Parallel port */
+#define NCT6791D_SP1 0x02 /* UART A */
+#define NCT6791D_SP2 0x03 /* UART B, IR */
+#define NCT6791D_KBC 0x05 /* Keyboard Controller */
+#define NCT6791D_CIR 0x06 /* Consumer IR */
+#define NCT6791D_GPIO678 0x07 /* GPIO 6, 7 & 8 */
+#define NCT6791D_WDT1_WDTMEM_GPIO01 0x08 /* WDT1, WDT_MEM, GPIO 0 & 1 */
+#define NCT6791D_GPIO2345 0x09 /* GPIO 2, 3, 4 & 5 */
+#define NCT6791D_ACPI 0x0A /* ACPI */
+#define NCT6791D_HWM_FPLED 0x0B /* HW Monitor, Front Panel LED */
+#define NCT6791D_BCLK_WDT2_WDTMEM 0x0D /* BCLK, WDT2, WDT_MEM */
+#define NCT6791D_CIRWUP 0x0E /* CIR Wake-Up */
+#define NCT6791D_GPIO_PP_OD 0x0F /* GPIO Push-Pull/Open-Drain */
+#define NCT6791D_PORT80 0x14 /* Port 80 UART */
+#define NCT6791D_DS 0x16 /* Deep Sleep */
+
+/* Virtual LDNs */
+#define NCT6791D_WDT1 ((0 << 8) | NCT6791D_WDT1_WDTMEM_GPIO01)
+#define NCT6791D_WDTMEM ((4 << 8) | NCT6791D_WDT1_WDTMEM_GPIO01)
+#define NCT6791D_GPIOBASE ((3 << 8) | NCT6791D_WDT1_WDTMEM_GPIO01)
+#define NCT6791D_GPIO0 ((1 << 8) | NCT6791D_WDT1_WDTMEM_GPIO01)
+#define NCT6791D_GPIO1 ((7 << 8) | NCT6791D_WDT1_WDTMEM_GPIO01)
+#define NCT6791D_GPIO2 ((0 << 8) | NCT6791D_GPIO2345)
+#define NCT6791D_GPIO3 ((1 << 8) | NCT6791D_GPIO2345)
+#define NCT6791D_GPIO4 ((2 << 8) | NCT6791D_GPIO2345)
+#define NCT6791D_GPIO5 ((3 << 8) | NCT6791D_GPIO2345)
+#define NCT6791D_GPIO6 ((0 << 8) | NCT6791D_GPIO678)
+#define NCT6791D_GPIO7 ((1 << 8) | NCT6791D_GPIO678)
+#define NCT6791D_GPIO8 ((2 << 8) | NCT6791D_GPIO678)
+
+#endif /* SUPERIO_NUVOTON_NCT6791D_H */
diff --git a/src/superio/nuvoton/nct6791d/superio.c b/src/superio/nuvoton/nct6791d/superio.c
new file mode 100644
index 0000000..5367916
--- /dev/null
+++ b/src/superio/nuvoton/nct6791d/superio.c
@@ -0,0 +1,95 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2016 Omar Pakker <omarpakker+coreboot(a)gmail.com>
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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.
+ */
+
+#include <arch/io.h>
+#include <device/device.h>
+#include <device/pnp.h>
+#include <pc80/keyboard.h>
+#include <stdlib.h>
+#include <superio/conf_mode.h>
+
+#include "nct6791d.h"
+
+
+static void nct6791d_init(struct device *dev)
+{
+ if (!dev->enabled)
+ return;
+
+ switch (dev->path.pnp.device) {
+ case NCT6791D_KBC:
+ pc_keyboard_init(NO_AUX_DEVICE);
+ break;
+ }
+}
+
+static struct device_operations ops = {
+ .read_resources = pnp_read_resources,
+ .set_resources = pnp_set_resources,
+ .enable_resources = pnp_enable_resources,
+ .enable = pnp_alt_enable,
+ .init = nct6791d_init,
+ .ops_pnp_mode = &pnp_conf_mode_8787_aa,
+};
+
+static struct pnp_info pnp_dev_info[] = {
+ { &ops, NCT6791D_PP, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0,
+ {0x0ff8, 0}, },
+ { &ops, NCT6791D_SP1, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0,
+ {0x0ff8, 0}, },
+ { &ops, NCT6791D_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0,
+ {0x0ff8, 0}, },
+ { &ops, NCT6791D_KBC, PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_IRQ1,
+ {0x0fff, 0}, {0x0fff, 4}, },
+ { &ops, NCT6791D_CIR, PNP_IO0 | PNP_IRQ0,
+ {0x0ff8, 0}, },
+ { &ops, NCT6791D_GPIO678},
+ { &ops, NCT6791D_WDT1_WDTMEM_GPIO01},
+ { &ops, NCT6791D_GPIO2345},
+ { &ops, NCT6791D_ACPI},
+ { &ops, NCT6791D_HWM_FPLED, PNP_IO0 | PNP_IO1 | PNP_IRQ0,
+ {0x0ffe, 0}, {0x0ffe, 4}, },
+ { &ops, NCT6791D_BCLK_WDT2_WDTMEM},
+ { &ops, NCT6791D_CIRWUP, PNP_IO0 | PNP_IRQ0,
+ {0x0ff8, 0}, },
+ { &ops, NCT6791D_GPIO_PP_OD},
+ { &ops, NCT6791D_PORT80},
+ { &ops, NCT6791D_DS},
+ { &ops, NCT6791D_WDT1},
+ { &ops, NCT6791D_WDTMEM},
+ { &ops, NCT6791D_GPIOBASE, PNP_IO0,
+ {0x0ff8, 0}, },
+ { &ops, NCT6791D_GPIO0},
+ { &ops, NCT6791D_GPIO1},
+ { &ops, NCT6791D_GPIO2},
+ { &ops, NCT6791D_GPIO3},
+ { &ops, NCT6791D_GPIO4},
+ { &ops, NCT6791D_GPIO5},
+ { &ops, NCT6791D_GPIO6},
+ { &ops, NCT6791D_GPIO7},
+ { &ops, NCT6791D_GPIO8},
+};
+
+static void enable_dev(struct device *dev)
+{
+ pnp_enable_devices(dev, &ops, ARRAY_SIZE(pnp_dev_info), pnp_dev_info);
+}
+
+struct chip_operations superio_nuvoton_nct6791d_ops = {
+ CHIP_NAME("NUVOTON NCT6791D Super I/O")
+ .enable_dev = enable_dev,
+};
+