diff options
Diffstat (limited to 'src/superio/winbond/w83627thf/w83627thf_early_serial.c')
-rw-r--r-- | src/superio/winbond/w83627thf/w83627thf_early_serial.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/superio/winbond/w83627thf/w83627thf_early_serial.c b/src/superio/winbond/w83627thf/w83627thf_early_serial.c new file mode 100644 index 0000000000..fb3598c102 --- /dev/null +++ b/src/superio/winbond/w83627thf/w83627thf_early_serial.c @@ -0,0 +1,11 @@ +#include <arch/romcc_io.h> +#include "w83627thf.h" + + +static void w83627thf_enable_serial(device_t dev, unsigned iobase) +{ + pnp_set_logical_device(dev); + pnp_set_enable(dev, 0); + pnp_set_iobase(dev, PNP_IDX_IO0, iobase); + pnp_set_enable(dev, 1); +} |