summaryrefslogtreecommitdiffstats
path: root/src/superio
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-03-21 11:51:41 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-03-22 00:00:09 +0100
commit24d1d4b47274eb82893e6726472a991a36fce0aa (patch)
tree57126316330f6f9d407f605fa831ce530650f069 /src/superio
parent55ed3106556a9bcbe36d3389dc5230d4a4ee2a40 (diff)
downloadcoreboot-staging-24d1d4b47274eb82893e6726472a991a36fce0aa.zip
coreboot-staging-24d1d4b47274eb82893e6726472a991a36fce0aa.tar.gz
x86: Unify arch/io.h and arch/romcc_io.h
Here's the great news: From now on you don't have to worry about hitting the right io.h include anymore. Just forget about romcc_io.h and use io.h instead. This cleanup has a number of advantages, like you don't have to guard device/ includes for SMM and pre RAM anymore. This allows to get rid of a number of ifdefs and will generally make the code more readable and understandable. Potentially in the future some of the code in the io.h __PRE_RAM__ path should move to device.h or other device/ includes instead, but that's another incremental change. Change-Id: I356f06110e2e355e9a5b4b08c132591f36fec7d9 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2872 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/fintek/f71805f/early_serial.c2
-rw-r--r--src/superio/fintek/f71859/early_serial.c2
-rw-r--r--src/superio/fintek/f71863fg/early_serial.c2
-rw-r--r--src/superio/fintek/f71872/early_serial.c2
-rw-r--r--src/superio/fintek/f71889/early_serial.c2
-rw-r--r--src/superio/fintek/f81865f/f81865f_early_serial.c2
-rw-r--r--src/superio/intel/i3100/early_serial.c2
-rw-r--r--src/superio/ite/it8661f/early_serial.c2
-rw-r--r--src/superio/ite/it8671f/early_serial.c2
-rw-r--r--src/superio/ite/it8673f/early_serial.c2
-rw-r--r--src/superio/ite/it8705f/early_serial.c2
-rw-r--r--src/superio/ite/it8712f/early_serial.c2
-rw-r--r--src/superio/ite/it8716f/early_init.c2
-rw-r--r--src/superio/ite/it8716f/early_serial.c2
-rw-r--r--src/superio/ite/it8718f/early_serial.c2
-rw-r--r--src/superio/ite/it8721f/early_serial.c2
-rw-r--r--src/superio/ite/it8772f/early_serial.c2
-rw-r--r--src/superio/nsc/pc8374/early_init.c2
-rw-r--r--src/superio/nsc/pc87309/early_serial.c2
-rw-r--r--src/superio/nsc/pc87351/early_serial.c2
-rw-r--r--src/superio/nsc/pc87360/early_serial.c2
-rw-r--r--src/superio/nsc/pc87366/early_serial.c2
-rw-r--r--src/superio/nsc/pc87392/early_serial.c2
-rw-r--r--src/superio/nsc/pc87417/early_init.c2
-rw-r--r--src/superio/nsc/pc87417/early_serial.c2
-rw-r--r--src/superio/nsc/pc87427/early_init.c2
-rw-r--r--src/superio/nsc/pc97317/early_serial.c2
-rw-r--r--src/superio/nuvoton/wpcm450/early_init.c1
-rw-r--r--src/superio/serverengines/pilot/early_serial.c2
-rw-r--r--src/superio/smsc/fdc37m60x/early_serial.c2
-rw-r--r--src/superio/smsc/kbc1100/kbc1100_early_init.c2
-rw-r--r--src/superio/smsc/lpc47b272/early_serial.c2
-rw-r--r--src/superio/smsc/lpc47b397/early_serial.c2
-rw-r--r--src/superio/smsc/lpc47m10x/early_serial.c2
-rw-r--r--src/superio/smsc/lpc47m15x/early_serial.c2
-rw-r--r--src/superio/smsc/lpc47n217/early_serial.c2
-rw-r--r--src/superio/smsc/lpc47n227/early_serial.c2
-rw-r--r--src/superio/smsc/sch4037/sch4037_early_init.c2
-rw-r--r--src/superio/smsc/sio1036/sio1036_early_init.c2
-rw-r--r--src/superio/smsc/smscsuperio/early_serial.c2
-rw-r--r--src/superio/winbond/w83627dhg/early_serial.c1
-rw-r--r--src/superio/winbond/w83627ehg/early_init.c2
-rw-r--r--src/superio/winbond/w83627ehg/early_serial.c2
-rw-r--r--src/superio/winbond/w83627hf/early_init.c2
-rw-r--r--src/superio/winbond/w83627hf/early_serial.c2
-rw-r--r--src/superio/winbond/w83627thg/early_serial.c2
-rw-r--r--src/superio/winbond/w83627uhg/early_serial.c3
-rw-r--r--src/superio/winbond/w83697hf/early_serial.c3
-rw-r--r--src/superio/winbond/w83977f/early_serial.c2
-rw-r--r--src/superio/winbond/w83977tf/early_serial.c2
50 files changed, 48 insertions, 52 deletions
diff --git a/src/superio/fintek/f71805f/early_serial.c b/src/superio/fintek/f71805f/early_serial.c
index e774f0c..827f870 100644
--- a/src/superio/fintek/f71805f/early_serial.c
+++ b/src/superio/fintek/f71805f/early_serial.c
@@ -20,7 +20,7 @@
/* Pre-RAM driver for the Fintek F71805F/FG Super I/O chip. */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "f71805f.h"
static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/fintek/f71859/early_serial.c b/src/superio/fintek/f71859/early_serial.c
index 6781ad7..4401714 100644
--- a/src/superio/fintek/f71859/early_serial.c
+++ b/src/superio/fintek/f71859/early_serial.c
@@ -20,7 +20,7 @@
/* Pre-RAM driver for the Fintek F71859 Super I/O chip. */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "f71859.h"
static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/fintek/f71863fg/early_serial.c b/src/superio/fintek/f71863fg/early_serial.c
index bf6c9ab..5d1cfb7 100644
--- a/src/superio/fintek/f71863fg/early_serial.c
+++ b/src/superio/fintek/f71863fg/early_serial.c
@@ -20,7 +20,7 @@
/* Pre-RAM driver for the Fintek F71863FG Super I/O chip. */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "f71863fg.h"
static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/fintek/f71872/early_serial.c b/src/superio/fintek/f71872/early_serial.c
index 55646a4..af5cdb3 100644
--- a/src/superio/fintek/f71872/early_serial.c
+++ b/src/superio/fintek/f71872/early_serial.c
@@ -20,7 +20,7 @@
/* Pre-RAM driver for the Fintek F71872F/FG Super I/O chip. */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "f71872.h"
static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/fintek/f71889/early_serial.c b/src/superio/fintek/f71889/early_serial.c
index 4548e1c..9623cbd 100644
--- a/src/superio/fintek/f71889/early_serial.c
+++ b/src/superio/fintek/f71889/early_serial.c
@@ -19,7 +19,7 @@
*/
#include <stdint.h>
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "f71889.h"
static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/fintek/f81865f/f81865f_early_serial.c b/src/superio/fintek/f81865f/f81865f_early_serial.c
index 80af5aa..2989b5f 100644
--- a/src/superio/fintek/f81865f/f81865f_early_serial.c
+++ b/src/superio/fintek/f81865f/f81865f_early_serial.c
@@ -20,7 +20,7 @@
/* Pre-RAM driver for the Fintek F81865F/FG Super I/O chip. */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "f81865f.h"
static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/intel/i3100/early_serial.c b/src/superio/intel/i3100/early_serial.c
index 9508bc3..f95cf8a 100644
--- a/src/superio/intel/i3100/early_serial.c
+++ b/src/superio/intel/i3100/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "i3100.h"
static void pnp_enter_ext_func_mode(device_t dev)
diff --git a/src/superio/ite/it8661f/early_serial.c b/src/superio/ite/it8661f/early_serial.c
index 4bc88b1..ee132fa 100644
--- a/src/superio/ite/it8661f/early_serial.c
+++ b/src/superio/ite/it8661f/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "it8661f.h"
/* Perform MB PnP setup to put the SIO chip at 0x3f0. */
diff --git a/src/superio/ite/it8671f/early_serial.c b/src/superio/ite/it8671f/early_serial.c
index 7b9e1b5..c2ba6e0 100644
--- a/src/superio/ite/it8671f/early_serial.c
+++ b/src/superio/ite/it8671f/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "it8671f.h"
/* The base address is 0x3f0, 0x3bd, or 0x370, depending on config bytes. */
diff --git a/src/superio/ite/it8673f/early_serial.c b/src/superio/ite/it8673f/early_serial.c
index 61e8eff..987b5e6 100644
--- a/src/superio/ite/it8673f/early_serial.c
+++ b/src/superio/ite/it8673f/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "it8673f.h"
/* The base address is 0x3f0, 0x3bd, or 0x370, depending on config bytes. */
diff --git a/src/superio/ite/it8705f/early_serial.c b/src/superio/ite/it8705f/early_serial.c
index d1e6b4f..ccc92c2 100644
--- a/src/superio/ite/it8705f/early_serial.c
+++ b/src/superio/ite/it8705f/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "it8705f.h"
/* The base address is 0x2e or 0x4e, depending on config bytes. */
diff --git a/src/superio/ite/it8712f/early_serial.c b/src/superio/ite/it8712f/early_serial.c
index 6cf5afd..51564fc 100644
--- a/src/superio/ite/it8712f/early_serial.c
+++ b/src/superio/ite/it8712f/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "it8712f.h"
/* The base address is 0x2e or 0x4e, depending on config bytes. */
diff --git a/src/superio/ite/it8716f/early_init.c b/src/superio/ite/it8716f/early_init.c
index 8d684b6..cfac2a9 100644
--- a/src/superio/ite/it8716f/early_init.c
+++ b/src/superio/ite/it8716f/early_init.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "it8716f.h"
void it8716f_disable_dev(device_t dev)
diff --git a/src/superio/ite/it8716f/early_serial.c b/src/superio/ite/it8716f/early_serial.c
index 55047f8..02f0304 100644
--- a/src/superio/ite/it8716f/early_serial.c
+++ b/src/superio/ite/it8716f/early_serial.c
@@ -21,7 +21,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "it8716f.h"
/* The base address is 0x2e or 0x4e, depending on config bytes. */
diff --git a/src/superio/ite/it8718f/early_serial.c b/src/superio/ite/it8718f/early_serial.c
index a4335f3..308b67c 100644
--- a/src/superio/ite/it8718f/early_serial.c
+++ b/src/superio/ite/it8718f/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "it8718f.h"
/* The base address is 0x2e or 0x4e, depending on config bytes. */
diff --git a/src/superio/ite/it8721f/early_serial.c b/src/superio/ite/it8721f/early_serial.c
index 8272ef6..20e19b6 100644
--- a/src/superio/ite/it8721f/early_serial.c
+++ b/src/superio/ite/it8721f/early_serial.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "it8721f.h"
/* The base address is 0x2e or 0x4e, depending on config bytes. */
diff --git a/src/superio/ite/it8772f/early_serial.c b/src/superio/ite/it8772f/early_serial.c
index 8cf459a..8bf2964 100644
--- a/src/superio/ite/it8772f/early_serial.c
+++ b/src/superio/ite/it8772f/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include <device/pnp_def.h>
#include "it8772f.h"
diff --git a/src/superio/nsc/pc8374/early_init.c b/src/superio/nsc/pc8374/early_init.c
index f5e4e80..d3f601d 100644
--- a/src/superio/nsc/pc8374/early_init.c
+++ b/src/superio/nsc/pc8374/early_init.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "pc8374.h"
static void pc8374_enable(u16 iobase, u8 *init)
diff --git a/src/superio/nsc/pc87309/early_serial.c b/src/superio/nsc/pc87309/early_serial.c
index f6be3ed..131f0aa 100644
--- a/src/superio/nsc/pc87309/early_serial.c
+++ b/src/superio/nsc/pc87309/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "pc87309.h"
static void pc87309_enable_serial(device_t dev, u16 iobase)
diff --git a/src/superio/nsc/pc87351/early_serial.c b/src/superio/nsc/pc87351/early_serial.c
index 6f97a76..c34538f 100644
--- a/src/superio/nsc/pc87351/early_serial.c
+++ b/src/superio/nsc/pc87351/early_serial.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "pc87351.h"
static void pc87351_enable_serial(device_t dev, u16 iobase)
diff --git a/src/superio/nsc/pc87360/early_serial.c b/src/superio/nsc/pc87360/early_serial.c
index 657cd68..da4abdb 100644
--- a/src/superio/nsc/pc87360/early_serial.c
+++ b/src/superio/nsc/pc87360/early_serial.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "pc87360.h"
static void pc87360_enable_serial(device_t dev, u16 iobase)
diff --git a/src/superio/nsc/pc87366/early_serial.c b/src/superio/nsc/pc87366/early_serial.c
index e0bc2c5..e173afd 100644
--- a/src/superio/nsc/pc87366/early_serial.c
+++ b/src/superio/nsc/pc87366/early_serial.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "pc87366.h"
static void pc87366_enable_serial(device_t dev, u16 iobase)
diff --git a/src/superio/nsc/pc87392/early_serial.c b/src/superio/nsc/pc87392/early_serial.c
index a485ddb..6e85fb9 100644
--- a/src/superio/nsc/pc87392/early_serial.c
+++ b/src/superio/nsc/pc87392/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "pc87392.h"
static void pc87392_enable_serial(device_t dev, u16 iobase)
diff --git a/src/superio/nsc/pc87417/early_init.c b/src/superio/nsc/pc87417/early_init.c
index 59f1ab6..d1870f9 100644
--- a/src/superio/nsc/pc87417/early_init.c
+++ b/src/superio/nsc/pc87417/early_init.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "pc87417.h"
static void pc87417_disable_dev(device_t dev)
diff --git a/src/superio/nsc/pc87417/early_serial.c b/src/superio/nsc/pc87417/early_serial.c
index 0e87fc5..33bae7e 100644
--- a/src/superio/nsc/pc87417/early_serial.c
+++ b/src/superio/nsc/pc87417/early_serial.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "pc87417.h"
void pc87417_enable_serial(device_t dev, u16 iobase)
diff --git a/src/superio/nsc/pc87427/early_init.c b/src/superio/nsc/pc87427/early_init.c
index 512e440..6df1b9f 100644
--- a/src/superio/nsc/pc87427/early_init.c
+++ b/src/superio/nsc/pc87427/early_init.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "pc87427.h"
static void pc87427_disable_dev(device_t dev)
diff --git a/src/superio/nsc/pc97317/early_serial.c b/src/superio/nsc/pc97317/early_serial.c
index 593c22e..0c21561 100644
--- a/src/superio/nsc/pc97317/early_serial.c
+++ b/src/superio/nsc/pc97317/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "pc97317.h"
#define PM_DEV PNP_DEV(0x2e, PC97317_PM)
diff --git a/src/superio/nuvoton/wpcm450/early_init.c b/src/superio/nuvoton/wpcm450/early_init.c
index a90f266..d95eaae 100644
--- a/src/superio/nuvoton/wpcm450/early_init.c
+++ b/src/superio/nuvoton/wpcm450/early_init.c
@@ -19,7 +19,6 @@
*/
#include <arch/io.h>
-#include <arch/romcc_io.h>
#include <device/pnp_def.h>
#include "wpcm450.h"
diff --git a/src/superio/serverengines/pilot/early_serial.c b/src/superio/serverengines/pilot/early_serial.c
index f339d8e..4112901 100644
--- a/src/superio/serverengines/pilot/early_serial.c
+++ b/src/superio/serverengines/pilot/early_serial.c
@@ -21,7 +21,7 @@
/* PILOT Super I/O is only based on LPC observation done on factory system. */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "pilot.h"
/* Pilot uses 0x5A/0xA5 pattern to actiavte deactivate config access. */
diff --git a/src/superio/smsc/fdc37m60x/early_serial.c b/src/superio/smsc/fdc37m60x/early_serial.c
index a3539b15..38cb0f8 100644
--- a/src/superio/smsc/fdc37m60x/early_serial.c
+++ b/src/superio/smsc/fdc37m60x/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "fdc37m60x.h"
/* The base address is 0x3f0 or 0x370, depending on the SYSOPT pin. */
diff --git a/src/superio/smsc/kbc1100/kbc1100_early_init.c b/src/superio/smsc/kbc1100/kbc1100_early_init.c
index e12db31..5d74c32 100644
--- a/src/superio/smsc/kbc1100/kbc1100_early_init.c
+++ b/src/superio/smsc/kbc1100/kbc1100_early_init.c
@@ -19,7 +19,7 @@
/* Pre-RAM driver for the SMSC KBC1100 Super I/O chip */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "kbc1100.h"
static inline void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/smsc/lpc47b272/early_serial.c b/src/superio/smsc/lpc47b272/early_serial.c
index 54e854c..b2f0d1b 100644
--- a/src/superio/smsc/lpc47b272/early_serial.c
+++ b/src/superio/smsc/lpc47b272/early_serial.c
@@ -20,7 +20,7 @@
/* Pre-RAM driver for SMSC LPC47B272 Super I/O chip. */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "lpc47b272.h"
static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/smsc/lpc47b397/early_serial.c b/src/superio/smsc/lpc47b397/early_serial.c
index 930e41a..31d515b 100644
--- a/src/superio/smsc/lpc47b397/early_serial.c
+++ b/src/superio/smsc/lpc47b397/early_serial.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "lpc47b397.h"
static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/smsc/lpc47m10x/early_serial.c b/src/superio/smsc/lpc47m10x/early_serial.c
index 99aebbc..fc6efb9 100644
--- a/src/superio/smsc/lpc47m10x/early_serial.c
+++ b/src/superio/smsc/lpc47m10x/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "lpc47m10x.h"
static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/smsc/lpc47m15x/early_serial.c b/src/superio/smsc/lpc47m15x/early_serial.c
index bd57a28..7d75bae 100644
--- a/src/superio/smsc/lpc47m15x/early_serial.c
+++ b/src/superio/smsc/lpc47m15x/early_serial.c
@@ -19,7 +19,7 @@
/* Pre-RAM driver for the SMSC LPC47M15X Super I/O chip */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "lpc47m15x.h"
static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/smsc/lpc47n217/early_serial.c b/src/superio/smsc/lpc47n217/early_serial.c
index 6c02769..451628a 100644
--- a/src/superio/smsc/lpc47n217/early_serial.c
+++ b/src/superio/smsc/lpc47n217/early_serial.c
@@ -20,7 +20,7 @@
/* Pre-RAM driver for SMSC LPC47N217 Super I/O chip. */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include <assert.h>
#include "lpc47n217.h"
diff --git a/src/superio/smsc/lpc47n227/early_serial.c b/src/superio/smsc/lpc47n227/early_serial.c
index b20bc80..4aea7c5 100644
--- a/src/superio/smsc/lpc47n227/early_serial.c
+++ b/src/superio/smsc/lpc47n227/early_serial.c
@@ -20,7 +20,7 @@
/* Pre-RAM driver for SMSC LPC47N227 Super I/O chip. */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "lpc47n227.h"
static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/smsc/sch4037/sch4037_early_init.c b/src/superio/smsc/sch4037/sch4037_early_init.c
index fc9aaf5..dfacd24 100644
--- a/src/superio/smsc/sch4037/sch4037_early_init.c
+++ b/src/superio/smsc/sch4037/sch4037_early_init.c
@@ -18,7 +18,7 @@
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "sch4037.h"
static inline void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/smsc/sio1036/sio1036_early_init.c b/src/superio/smsc/sio1036/sio1036_early_init.c
index 289d83f..314ea75 100644
--- a/src/superio/smsc/sio1036/sio1036_early_init.c
+++ b/src/superio/smsc/sio1036/sio1036_early_init.c
@@ -19,7 +19,7 @@
/* Pre-RAM driver for the SMSC KBC1100 Super I/O chip */
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "sio1036.h"
#ifndef CONFIG_TTYS0_BASE
diff --git a/src/superio/smsc/smscsuperio/early_serial.c b/src/superio/smsc/smscsuperio/early_serial.c
index 85f7b46..5e9aadb 100644
--- a/src/superio/smsc/smscsuperio/early_serial.c
+++ b/src/superio/smsc/smscsuperio/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include <device/pnp_def.h>
/* All known/supported SMSC Super I/Os have the same logical device IDs
diff --git a/src/superio/winbond/w83627dhg/early_serial.c b/src/superio/winbond/w83627dhg/early_serial.c
index 8ea29ea..ec9e81e 100644
--- a/src/superio/winbond/w83627dhg/early_serial.c
+++ b/src/superio/winbond/w83627dhg/early_serial.c
@@ -20,7 +20,6 @@
*/
#include <arch/io.h>
-#include <arch/romcc_io.h>
#include <device/pnp_def.h>
#include <stdint.h>
#include "w83627dhg.h"
diff --git a/src/superio/winbond/w83627ehg/early_init.c b/src/superio/winbond/w83627ehg/early_init.c
index 24cc451..7be5e37 100644
--- a/src/superio/winbond/w83627ehg/early_init.c
+++ b/src/superio/winbond/w83627ehg/early_init.c
@@ -20,7 +20,7 @@
*/
#include <stdint.h>
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "w83627ehg.h"
void w83627ehg_disable_dev(device_t dev)
diff --git a/src/superio/winbond/w83627ehg/early_serial.c b/src/superio/winbond/w83627ehg/early_serial.c
index 03e72f3..1a895c6 100644
--- a/src/superio/winbond/w83627ehg/early_serial.c
+++ b/src/superio/winbond/w83627ehg/early_serial.c
@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "w83627ehg.h"
static void pnp_enter_ext_func_mode(device_t dev)
diff --git a/src/superio/winbond/w83627hf/early_init.c b/src/superio/winbond/w83627hf/early_init.c
index b61922d..66b4098 100644
--- a/src/superio/winbond/w83627hf/early_init.c
+++ b/src/superio/winbond/w83627hf/early_init.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "w83627hf.h"
void w83627hf_disable_dev(device_t dev)
diff --git a/src/superio/winbond/w83627hf/early_serial.c b/src/superio/winbond/w83627hf/early_serial.c
index 0e857cf..db2827b 100644
--- a/src/superio/winbond/w83627hf/early_serial.c
+++ b/src/superio/winbond/w83627hf/early_serial.c
@@ -21,7 +21,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "w83627hf.h"
static void pnp_enter_ext_func_mode(device_t dev)
diff --git a/src/superio/winbond/w83627thg/early_serial.c b/src/superio/winbond/w83627thg/early_serial.c
index 6803aab..8ba1a30 100644
--- a/src/superio/winbond/w83627thg/early_serial.c
+++ b/src/superio/winbond/w83627thg/early_serial.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "w83627thg.h"
static void pnp_enter_ext_func_mode(device_t dev)
diff --git a/src/superio/winbond/w83627uhg/early_serial.c b/src/superio/winbond/w83627uhg/early_serial.c
index 43946bd..bfd08a3 100644
--- a/src/superio/winbond/w83627uhg/early_serial.c
+++ b/src/superio/winbond/w83627uhg/early_serial.c
@@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
-#include <stdint.h>
+#include <arch/io.h>
#include "w83627uhg.h"
static void pnp_enter_ext_func_mode(device_t dev)
diff --git a/src/superio/winbond/w83697hf/early_serial.c b/src/superio/winbond/w83697hf/early_serial.c
index e26168e..e435645 100644
--- a/src/superio/winbond/w83697hf/early_serial.c
+++ b/src/superio/winbond/w83697hf/early_serial.c
@@ -18,8 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <stdint.h>
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "w83697hf.h"
static void pnp_enter_ext_func_mode(device_t dev)
diff --git a/src/superio/winbond/w83977f/early_serial.c b/src/superio/winbond/w83977f/early_serial.c
index 400cb86..c572dcb 100644
--- a/src/superio/winbond/w83977f/early_serial.c
+++ b/src/superio/winbond/w83977f/early_serial.c
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "w83977f.h"
static void pnp_enter_ext_func_mode(device_t dev)
diff --git a/src/superio/winbond/w83977tf/early_serial.c b/src/superio/winbond/w83977tf/early_serial.c
index 208bc68..c016515 100644
--- a/src/superio/winbond/w83977tf/early_serial.c
+++ b/src/superio/winbond/w83977tf/early_serial.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <arch/romcc_io.h>
+#include <arch/io.h>
#include "w83977tf.h"
static void pnp_enter_ext_func_mode(device_t dev)
OpenPOWER on IntegriCloud