summaryrefslogtreecommitdiff
path: root/src/superio/winbond/w83627thf/w83627thf_early_serial.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2004-03-12 23:02:05 +0000
committerRonald G. Minnich <rminnich@gmail.com>2004-03-12 23:02:05 +0000
commitfd714cf120bdea2faf638efeaf4617c80522ce16 (patch)
treec1c1ab56c0ed691fb65c4c20c5ccb095e5aef8ad /src/superio/winbond/w83627thf/w83627thf_early_serial.c
parenta6aca79ff038db75f2ef3cbddedb79caefac5358 (diff)
downloadcoreboot-fd714cf120bdea2faf638efeaf4617c80522ce16.tar.xz
new support
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1395 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/winbond/w83627thf/w83627thf_early_serial.c')
-rw-r--r--src/superio/winbond/w83627thf/w83627thf_early_serial.c11
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);
+}