summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8661f/it8661f.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-04-15 20:30:49 +1000
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-06-03 09:37:03 +0200
commit8f45761a67347050058537f6a6cd75489af6c1d8 (patch)
treea7ed267f78e0e580f4dcc506fa2ff48ace8f02cb /src/superio/ite/it8661f/it8661f.h
parent6fb379a1dbd60fcdd8ad30550b708ed1b9e3fa7d (diff)
superio/ite/it8661f: Make early_serial into romstage sym
Following similar reasoning as commit: d304331 superio/fintek/f81865f: Avoid .c includes Avoid any mistaken future inclusion of early_serial.c in mainboard.c code by providing symbols in romstage. Change-Id: I9e763a7ad9de090e35acdcf4d6a280d8227c6015 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5508 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/superio/ite/it8661f/it8661f.h')
-rw-r--r--src/superio/ite/it8661f/it8661f.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/superio/ite/it8661f/it8661f.h b/src/superio/ite/it8661f/it8661f.h
index 5a51f02e25..045a54c46c 100644
--- a/src/superio/ite/it8661f/it8661f.h
+++ b/src/superio/ite/it8661f/it8661f.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SUPERIO_ITE_IT8661F_IT8661F_H
-#define SUPERIO_ITE_IT8661F_IT8661F_H
+#ifndef SUPERIO_ITE_IT8661F_H
+#define SUPERIO_ITE_IT8661F_H
/* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8661_2.asp */
@@ -52,4 +52,6 @@ static const u8 init_values[] = {
0xe8, 0x74, 0x3a, 0x9d, /**/ 0xce, 0xe7, 0x73, 0x39,
};
-#endif
+void it8661f_enable_serial(device_t dev, u16 iobase);
+
+#endif /* SUPERIO_ITE_IT8661F_H */