diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-16 01:14:50 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-16 01:14:50 +0000 |
commit | 94c27b3d47dfa6d64192b0fde68d3011074a5bae (patch) | |
tree | 7c216ab5d29ba9b4b90b8cde8b577cce2790d97c | |
parent | d6532116c94c705c7e94a34ab2f046e431fb3682 (diff) |
fix up sb600 and it8712f tree.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5449 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/southbridge/amd/sb600/sb600_early_setup.c | 6 | ||||
-rw-r--r-- | src/superio/ite/it8712f/it8712f.h | 4 | ||||
-rw-r--r-- | src/superio/ite/it8712f/it8712f_early_serial.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/southbridge/amd/sb600/sb600_early_setup.c b/src/southbridge/amd/sb600/sb600_early_setup.c index dd2ed69cd2..274eda002f 100644 --- a/src/southbridge/amd/sb600/sb600_early_setup.c +++ b/src/southbridge/amd/sb600/sb600_early_setup.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <reset.h> #include <arch/cpu.h> #include "sb600.h" #include "sb600_smbus.c" @@ -196,7 +197,7 @@ static void enable_fid_change_on_sb(u32 sbbusn, u32 sbdn) } -static void hard_reset(void) +void hard_reset(void) { set_bios_reset(); @@ -205,14 +206,13 @@ static void hard_reset(void) outb(0x0e, 0x0cf9); } -static void soft_reset(void) +void soft_reset(void) { set_bios_reset(); /* link reset */ outb(0x06, 0x0cf9); } - static void sb600_pci_port80(void) { u8 byte; diff --git a/src/superio/ite/it8712f/it8712f.h b/src/superio/ite/it8712f/it8712f.h index 884d77e582..60c7413b3e 100644 --- a/src/superio/ite/it8712f/it8712f.h +++ b/src/superio/ite/it8712f/it8712f.h @@ -36,6 +36,6 @@ #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) +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 a243202982..76f9bc0d07 100644 --- a/src/superio/ite/it8712f/it8712f_early_serial.c +++ b/src/superio/ite/it8712f/it8712f_early_serial.c @@ -91,7 +91,7 @@ void it8712f_enable_3vsbsw(void) it8712f_exit_conf(); } -static void it8712f_kill_watchdog(void) +void it8712f_kill_watchdog(void) { it8712f_enter_conf(); |