summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8671f/it8671f.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-04-27 00:41:50 +1000
committerRudolf Marek <r.marek@assembler.cz>2014-05-11 17:52:08 +0200
commitf29200240e428761827ab8d179fa23068bfa9d59 (patch)
treee8f20cf76e224a08152c46196894479bd6105436 /src/superio/ite/it8671f/it8671f.h
parent946bee1c349db6bf88b4f6736dc910eb4890a74b (diff)
downloadcoreboot-f29200240e428761827ab8d179fa23068bfa9d59.tar.xz
superio/ite/*: Factor out generic romstage component
Following the reasoning of: cf7b498 superio/fintek/*: Factor out generic romstage component Change-Id: I4c0a9a5a7786eb8fcb0c3ed6251c7fe9bbbadae7 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5585 Tested-by: build bot (Jenkins) Reviewed-by: Rudolf Marek <r.marek@assembler.cz>
Diffstat (limited to 'src/superio/ite/it8671f/it8671f.h')
-rw-r--r--src/superio/ite/it8671f/it8671f.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/superio/ite/it8671f/it8671f.h b/src/superio/ite/it8671f/it8671f.h
index 52669f4ba5..c3865ff74e 100644
--- a/src/superio/ite/it8671f/it8671f.h
+++ b/src/superio/ite/it8671f/it8671f.h
@@ -18,8 +18,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SUPERIO_ITE_IT8671F_IT8671F_H
-#define SUPERIO_ITE_IT8671F_IT8671F_H
+#ifndef SUPERIO_ITE_IT8671F_H
+#define SUPERIO_ITE_IT8671F_H
+
+#include <arch/io.h>
+#include <stdint.h>
/* Datasheet: Not available online, got it from ITE per request. */
@@ -30,4 +33,7 @@
#define IT8671F_KBCK 0x05 /* PS/2 keyboard */
#define IT8671F_KBCM 0x06 /* PS/2 mouse */
-#endif
+void it8671f_48mhz_clkin(void);
+void it8671f_enable_serial(device_t dev, u16 iobase);
+
+#endif /* SUPERIO_ITE_IT8671F__H */