diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-16 00:31:44 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-16 00:31:44 +0000 |
commit | d6532116c94c705c7e94a34ab2f046e431fb3682 (patch) | |
tree | 6068b85e702f6eaf5b40fa273edfb9bfc4d155a1 /src/superio/ite | |
parent | e46c1c85c90b6d263f951ab745a9fadd93041111 (diff) |
zero warnings days: unify mp tables. fix warnings.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5448 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/ite')
-rw-r--r-- | src/superio/ite/it8712f/it8712f.h | 7 | ||||
-rw-r--r-- | src/superio/ite/it8712f/it8712f_early_serial.c | 6 |
2 files changed, 10 insertions, 3 deletions
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). */ |