From d6532116c94c705c7e94a34ab2f046e431fb3682 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 16 Apr 2010 00:31:44 +0000 Subject: zero warnings days: unify mp tables. fix warnings. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5448 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/superio/ite/it8712f/it8712f.h | 7 +++++++ src/superio/ite/it8712f/it8712f_early_serial.c | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'src/superio/ite') diff --git a/src/superio/ite/it8712f/it8712f.h b/src/superio/ite/it8712f/it8712f.h index 260b12d798..884d77e582 100644 --- a/src/superio/ite/it8712f/it8712f.h +++ b/src/superio/ite/it8712f/it8712f.h @@ -32,3 +32,10 @@ #define IT8712F_MIDI 0x08 /* MIDI port */ #define IT8712F_GAME 0x09 /* GAME port */ #define IT8712F_IR 0x0a /* Consumer IR */ + +#ifndef __ROMCC__ +void it8712f_kill_watchdog(void); +void it8712f_enable_serial(device_t dev, unsigned iobase); +void it8712f_24mhz_clkin(void) +void it8712f_enable_3vsbsw(void) +#endif diff --git a/src/superio/ite/it8712f/it8712f_early_serial.c b/src/superio/ite/it8712f/it8712f_early_serial.c index e0bfafd4ac..a243202982 100644 --- a/src/superio/ite/it8712f/it8712f_early_serial.c +++ b/src/superio/ite/it8712f/it8712f_early_serial.c @@ -66,7 +66,7 @@ static void it8712f_exit_conf(void) it8712f_sio_write(0x00, IT8712F_CONFIG_REG_CC, 0x02); } -static void it8712f_24mhz_clkin(void) +void it8712f_24mhz_clkin(void) { it8712f_enter_conf(); @@ -76,7 +76,7 @@ static void it8712f_24mhz_clkin(void) it8712f_exit_conf(); } -static void it8712f_enable_3vsbsw(void) +void it8712f_enable_3vsbsw(void) { /* We need to set enable 3VSBSW#, this was documented only in IT8712F_V0.9.2! @@ -102,7 +102,7 @@ static void it8712f_kill_watchdog(void) } /* Enable the peripheral devices on the IT8712F Super I/O chip. */ -static void it8712f_enable_serial(device_t dev, unsigned iobase) +void it8712f_enable_serial(device_t dev, unsigned iobase) { /* (1) Enter the configuration state (MB PnP mode). */ -- cgit v1.2.3