summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2017-06-01 14:59:30 +0200
committerMartin Roth <martinroth@google.com>2017-06-04 18:45:42 +0200
commitf7ca225a7ead88a187054108e57f872bc2d23e2e (patch)
treecee2e6acdb55c32b3d5887062bd0c94308d4b114
parentc4b4ff3b1fb7960621a245df0627339db9db7037 (diff)
downloadcoreboot-f7ca225a7ead88a187054108e57f872bc2d23e2e.tar.xz
superio/winbond/*/header: Include <arch/io.h>
Include <arch/io.h> since functions use types defined in there. Change-Id: Iba6bcea4377359c15e3148062458186ee222b8e2 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/20004 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/superio/winbond/w83627dhg/w83627dhg.h2
-rw-r--r--src/superio/winbond/w83627ehg/w83627ehg.h2
-rw-r--r--src/superio/winbond/w83627thg/w83627thg.h2
-rw-r--r--src/superio/winbond/wpcd376i/wpcd376i.h2
4 files changed, 8 insertions, 0 deletions
diff --git a/src/superio/winbond/w83627dhg/w83627dhg.h b/src/superio/winbond/w83627dhg/w83627dhg.h
index a527e1726c..53704370cb 100644
--- a/src/superio/winbond/w83627dhg/w83627dhg.h
+++ b/src/superio/winbond/w83627dhg/w83627dhg.h
@@ -18,6 +18,8 @@
#ifndef SUPERIO_WINBOND_W83627DHG_H
#define SUPERIO_WINBOND_W83627DHG_H
+#include <arch/io.h>
+
#define W83627DHG_FDC 0 /* Floppy */
#define W83627DHG_PP 1 /* Parallel port */
#define W83627DHG_SP1 2 /* Com1 */
diff --git a/src/superio/winbond/w83627ehg/w83627ehg.h b/src/superio/winbond/w83627ehg/w83627ehg.h
index fe93a62a1a..5b760f2e71 100644
--- a/src/superio/winbond/w83627ehg/w83627ehg.h
+++ b/src/superio/winbond/w83627ehg/w83627ehg.h
@@ -18,6 +18,8 @@
#ifndef SUPERIO_WINBOND_W83627EHG_H
#define SUPERIO_WINBOND_W83627EHG_H
+#include <arch/io.h>
+
#define W83627EHG_FDC 0 /* Floppy */
#define W83627EHG_PP 1 /* Parallel port */
#define W83627EHG_SP1 2 /* Com1 */
diff --git a/src/superio/winbond/w83627thg/w83627thg.h b/src/superio/winbond/w83627thg/w83627thg.h
index 92fbd27cdc..acea3826e9 100644
--- a/src/superio/winbond/w83627thg/w83627thg.h
+++ b/src/superio/winbond/w83627thg/w83627thg.h
@@ -19,6 +19,8 @@
#ifndef SUPERIO_WINBOND_W83627THG_W83627THG_H
#define SUPERIO_WINBOND_W83627THG_W83627THG_H
+#include <arch/io.h>
+
#define W83627THG_FDC 0 /* Floppy */
#define W83627THG_PP 1 /* Parallel port */
#define W83627THG_SP1 2 /* Com1 */
diff --git a/src/superio/winbond/wpcd376i/wpcd376i.h b/src/superio/winbond/wpcd376i/wpcd376i.h
index bc202f0f17..b894e4e0c7 100644
--- a/src/superio/winbond/wpcd376i/wpcd376i.h
+++ b/src/superio/winbond/wpcd376i/wpcd376i.h
@@ -18,6 +18,8 @@
#ifndef SUPERIO_WINBOND_WPCD376I_WPCD376I_H
#define SUPERIO_WINBOND_WPCD376I_WPCD376I_H
+#include <arch/io.h>
+
/* Logical Device Numbers (LDN). */
#define WPCD376I_FDC 0 /* Floppy */
#define WPCD376I_LPT 1 /* Parallel port */