summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/southbridge/amd/sb600/sb600_early_setup.c6
-rw-r--r--src/superio/ite/it8712f/it8712f.h4
-rw-r--r--src/superio/ite/it8712f/it8712f_early_serial.c2
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();