summaryrefslogtreecommitdiff
path: root/src/superio/winbond
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-04-29 14:05:02 +1000
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-02 09:44:58 +0200
commitf12a2473c0aebc4cdf64811061f759bf694dfb57 (patch)
tree5904ed0d7feafcd15f2dec78a8db235cc0ad576c /src/superio/winbond
parent0dd0669c5910273bfe82cd2b0c0a41984d564631 (diff)
downloadcoreboot-f12a2473c0aebc4cdf64811061f759bf694dfb57.tar.xz
superio/winbond/w83627thg: Remove w83627thg_enable_serial symbol
Remove model specific implementation, w83627thg_enable_serial, from romstage component of sio support. Change-Id: I8ef1de5ccccae5f4dba69dbdb939e7070d3cecfc Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5604 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/superio/winbond')
-rw-r--r--src/superio/winbond/w83627thg/early_serial.c10
-rw-r--r--src/superio/winbond/w83627thg/w83627thg.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/src/superio/winbond/w83627thg/early_serial.c b/src/superio/winbond/w83627thg/early_serial.c
index cc84738e49..6ab178b243 100644
--- a/src/superio/winbond/w83627thg/early_serial.c
+++ b/src/superio/winbond/w83627thg/early_serial.c
@@ -37,16 +37,6 @@ void pnp_exit_ext_func_mode(device_t dev)
outb(0xaa, port);
}
-void w83627thg_enable_serial(device_t dev, u16 iobase)
-{
- pnp_enter_ext_func_mode(dev);
- pnp_set_logical_device(dev);
- pnp_set_enable(dev, 0);
- pnp_set_iobase(dev, PNP_IDX_IO0, iobase);
- pnp_set_enable(dev, 1);
- pnp_exit_ext_func_mode(dev);
-}
-
#ifndef __ROMCC__
void w83627thg_set_clksel_48(device_t dev) {
u8 reg8;
diff --git a/src/superio/winbond/w83627thg/w83627thg.h b/src/superio/winbond/w83627thg/w83627thg.h
index a5cc450052..ec857d3910 100644
--- a/src/superio/winbond/w83627thg/w83627thg.h
+++ b/src/superio/winbond/w83627thg/w83627thg.h
@@ -38,6 +38,5 @@ void pnp_enter_ext_func_mode(device_t dev);
void pnp_exit_ext_func_mode(device_t dev);
void w83627thg_set_clksel_48(device_t dev);
-void w83627thg_enable_serial(device_t dev, u16 iobase);
#endif /* SUPERIO_WINBOND_W83627THG_W83627THG_H */