[coreboot-gerrit] New patch to review for coreboot: ab90d5e superio/fintek/*: Use correct headers for romstage

Edward O'Callaghan (eocallaghan@alterapraxis.com) gerrit at coreboot.org
Wed Apr 23 09:20:02 CEST 2014


Edward O'Callaghan (eocallaghan at alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5573

-gerrit

commit ab90d5e9ce8445079862969995d5b70e00f01068
Author: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Date:   Wed Apr 23 17:16:59 2014 +1000

    superio/fintek/*: Use correct headers for romstage
    
    Many of these superio's were inheriting their headers from, presumably
    mainboard's includes.
    
    Change-Id: Ic06b47df9eb4d216a6d34ee16c3f0622284856bd
    Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
---
 src/superio/fintek/f71805f/early_serial.c  | 1 +
 src/superio/fintek/f71805f/f71805f.h       | 3 +++
 src/superio/fintek/f71859/early_serial.c   | 1 +
 src/superio/fintek/f71859/f71859.h         | 3 +++
 src/superio/fintek/f71863fg/early_serial.c | 1 +
 src/superio/fintek/f71863fg/f71863fg.h     | 3 +++
 src/superio/fintek/f71869ad/early_serial.c | 1 +
 src/superio/fintek/f71869ad/f71869ad.h     | 3 +++
 src/superio/fintek/f71872/early_serial.c   | 1 +
 src/superio/fintek/f71872/f71872.h         | 3 +++
 src/superio/fintek/f71889/early_serial.c   | 1 +
 src/superio/fintek/f71889/f71889.h         | 3 +++
 src/superio/fintek/f81865f/early_serial.c  | 1 +
 src/superio/fintek/f81865f/f81865f.h       | 3 +++
 14 files changed, 28 insertions(+)

diff --git a/src/superio/fintek/f71805f/early_serial.c b/src/superio/fintek/f71805f/early_serial.c
index b823a43..6196eb7 100644
--- a/src/superio/fintek/f71805f/early_serial.c
+++ b/src/superio/fintek/f71805f/early_serial.c
@@ -22,6 +22,7 @@
 
 #include <arch/io.h>
 #include <device/pnp.h>
+#include <stdint.h>
 #include "f71805f.h"
 
 static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/fintek/f71805f/f71805f.h b/src/superio/fintek/f71805f/f71805f.h
index a81319f..a23543a 100644
--- a/src/superio/fintek/f71805f/f71805f.h
+++ b/src/superio/fintek/f71805f/f71805f.h
@@ -21,6 +21,9 @@
 #ifndef SUPERIO_FINTEK_F71805F_H
 #define SUPERIO_FINTEK_F71805F_H
 
+#include <device/pnp.h>
+#include <stdint.h>
+
 /*
  * Datasheet:
  *  - Name: F71805F/FG Super H/W Monitor + LPC IO
diff --git a/src/superio/fintek/f71859/early_serial.c b/src/superio/fintek/f71859/early_serial.c
index cb0d3de..5f20095 100644
--- a/src/superio/fintek/f71859/early_serial.c
+++ b/src/superio/fintek/f71859/early_serial.c
@@ -22,6 +22,7 @@
 
 #include <arch/io.h>
 #include <device/pnp.h>
+#include <stdint.h>
 #include "f71859.h"
 
 static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/fintek/f71859/f71859.h b/src/superio/fintek/f71859/f71859.h
index ab114a4..cd23a74 100644
--- a/src/superio/fintek/f71859/f71859.h
+++ b/src/superio/fintek/f71859/f71859.h
@@ -21,6 +21,9 @@
 #ifndef SUPERIO_FINTEK_F71859_H
 #define SUPERIO_FINTEK_F71859_H
 
+#include <device/pnp.h>
+#include <stdint.h>
+
 /* Logical Device Numbers (LDN). */
 #define F71859_SP1	0x03	/* UART1 */
 
diff --git a/src/superio/fintek/f71863fg/early_serial.c b/src/superio/fintek/f71863fg/early_serial.c
index 251f298..b96b49a 100644
--- a/src/superio/fintek/f71863fg/early_serial.c
+++ b/src/superio/fintek/f71863fg/early_serial.c
@@ -22,6 +22,7 @@
 
 #include <arch/io.h>
 #include <device/pnp.h>
+#include <stdint.h>
 #include "f71863fg.h"
 
 static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/fintek/f71863fg/f71863fg.h b/src/superio/fintek/f71863fg/f71863fg.h
index c29ddbe..c5db369 100644
--- a/src/superio/fintek/f71863fg/f71863fg.h
+++ b/src/superio/fintek/f71863fg/f71863fg.h
@@ -21,6 +21,9 @@
 #ifndef SUPERIO_FINTEK_F71863FG_H
 #define SUPERIO_FINTEK_F71863FG_H
 
+#include <device/pnp.h>
+#include <stdint.h>
+
 /* Logical Device Numbers (LDN). */
 #define F71863FG_FDC	0x00	/* Floppy */
 #define F71863FG_SP1	0x01	/* UART1 */
diff --git a/src/superio/fintek/f71869ad/early_serial.c b/src/superio/fintek/f71869ad/early_serial.c
index 8518400..02fe9ef 100644
--- a/src/superio/fintek/f71869ad/early_serial.c
+++ b/src/superio/fintek/f71869ad/early_serial.c
@@ -33,6 +33,7 @@
 
 #include <arch/io.h>
 #include <device/pnp.h>
+#include <stdint.h>
 #include "f71869ad.h"
 
 /*
diff --git a/src/superio/fintek/f71869ad/f71869ad.h b/src/superio/fintek/f71869ad/f71869ad.h
index 43a4397..eea296f 100644
--- a/src/superio/fintek/f71869ad/f71869ad.h
+++ b/src/superio/fintek/f71869ad/f71869ad.h
@@ -21,6 +21,9 @@
 #ifndef SUPERIO_FINTEK_F71869AD_H
 #define SUPERIO_FINTEK_F71869AD_H
 
+#include <device/pnp.h>
+#include <stdint.h>
+
 /* Logical Device Numbers (LDN). */
 #define F71869AD_FDC    0x00	/* Floppy */
 #define F71869AD_SP1    0x01	/* UART1 */
diff --git a/src/superio/fintek/f71872/early_serial.c b/src/superio/fintek/f71872/early_serial.c
index bbfc264..9311b1a 100644
--- a/src/superio/fintek/f71872/early_serial.c
+++ b/src/superio/fintek/f71872/early_serial.c
@@ -22,6 +22,7 @@
 
 #include <arch/io.h>
 #include <device/pnp.h>
+#include <stdint.h>
 #include "f71872.h"
 
 static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/fintek/f71872/f71872.h b/src/superio/fintek/f71872/f71872.h
index fb80762..78d7829 100644
--- a/src/superio/fintek/f71872/f71872.h
+++ b/src/superio/fintek/f71872/f71872.h
@@ -21,6 +21,9 @@
 #ifndef SUPERIO_FINTEK_F71872_H
 #define SUPERIO_FINTEK_F71872_H
 
+#include <device/pnp.h>
+#include <stdint.h>
+
 /* Logical Device Numbers (LDN). */
 #define F71872_FDC	0x00	/* Floppy */
 #define F71872_SP1	0x01	/* UART1 */
diff --git a/src/superio/fintek/f71889/early_serial.c b/src/superio/fintek/f71889/early_serial.c
index 5e11474..decbb1d 100644
--- a/src/superio/fintek/f71889/early_serial.c
+++ b/src/superio/fintek/f71889/early_serial.c
@@ -20,6 +20,7 @@
 
 #include <arch/io.h>
 #include <device/pnp.h>
+#include <stdint.h>
 #include "f71889.h"
 
 static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/fintek/f71889/f71889.h b/src/superio/fintek/f71889/f71889.h
index 72148f4..0545f66 100644
--- a/src/superio/fintek/f71889/f71889.h
+++ b/src/superio/fintek/f71889/f71889.h
@@ -21,6 +21,9 @@
 #ifndef SUPERIO_FINTEK_F71889_H
 #define SUPERIO_FINTEK_F71889_H
 
+#include <device/pnp.h>
+#include <stdint.h>
+
 /* Logical Device Numbers (LDN). */
 #define F71889_FDC	0x00	/* Floppy */
 #define F71889_SP1	0x01	/* UART1 */
diff --git a/src/superio/fintek/f81865f/early_serial.c b/src/superio/fintek/f81865f/early_serial.c
index 29b5f9d..eec6b5f 100644
--- a/src/superio/fintek/f81865f/early_serial.c
+++ b/src/superio/fintek/f81865f/early_serial.c
@@ -22,6 +22,7 @@
 
 #include <arch/io.h>
 #include <device/pnp.h>
+#include <stdint.h>
 #include "f81865f.h"
 
 static void pnp_enter_conf_state(device_t dev)
diff --git a/src/superio/fintek/f81865f/f81865f.h b/src/superio/fintek/f81865f/f81865f.h
index 99b7698..4a7f083 100644
--- a/src/superio/fintek/f81865f/f81865f.h
+++ b/src/superio/fintek/f81865f/f81865f.h
@@ -25,6 +25,9 @@
 #ifndef SUPERIO_FINTEK_F81865_H
 #define SUPERIO_FINTEK_F81865_H
 
+#include <device/pnp.h>
+#include <stdint.h>
+
 /* Logical Device Numbers (LDN). */
 #define F81865F_FDC	0x00	/* Floppy */
 #define F81865F_SP1	0x10	/* UART1 */



More information about the coreboot-gerrit mailing list