From f12a2473c0aebc4cdf64811061f759bf694dfb57 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Tue, 29 Apr 2014 14:05:02 +1000 Subject: [PATCH] superio/winbond/w83627thg: Remove w83627thg_enable_serial symbol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove model specific implementation, w83627thg_enable_serial, from romstage component of sio support. Change-Id: I8ef1de5ccccae5f4dba69dbdb939e7070d3cecfc Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/5604 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/superio/winbond/w83627thg/early_serial.c | 10 ---------- src/superio/winbond/w83627thg/w83627thg.h | 1 - 2 files changed, 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 */