summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2011-04-20 01:03:58 +0000
committerStefan Reinauer <stepan@openbios.org>2011-04-20 01:03:58 +0000
commit012d867f731386309c5678d0d6636e4040b411c5 (patch)
tree5aaa62322db3b9706de98d0f24bd22cdde9af14f /src
parent13508b94cba913b94ba9afc8dc3d97313140152d (diff)
downloadcoreboot-012d867f731386309c5678d0d6636e4040b411c5.tar.xz
fix boards that still had some uart init remainders
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6522 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/superio/nsc/pc87382/superio.c2
-rw-r--r--src/superio/via/vt1211/vt1211.c9
2 files changed, 0 insertions, 11 deletions
diff --git a/src/superio/nsc/pc87382/superio.c b/src/superio/nsc/pc87382/superio.c
index 4a4fbde387..7f4afe3d27 100644
--- a/src/superio/nsc/pc87382/superio.c
+++ b/src/superio/nsc/pc87382/superio.c
@@ -32,8 +32,6 @@
static void init(device_t dev)
{
- struct superio_nsc_pc87382_config *conf = dev->chip_info;
-
if (!dev->enabled)
return;
diff --git a/src/superio/via/vt1211/vt1211.c b/src/superio/via/vt1211/vt1211.c
index dbe7404368..1afa57e60d 100644
--- a/src/superio/via/vt1211/vt1211.c
+++ b/src/superio/via/vt1211/vt1211.c
@@ -93,21 +93,12 @@ static void init_hwm(u16 base)
static void vt1211_init(struct device *dev)
{
- struct superio_via_vt1211_config *conf = dev->chip_info;
struct resource *res0;
if (!dev->enabled)
return;
switch (dev->path.pnp.device) {
- case VT1211_SP1:
- res0 = find_resource(dev, PNP_IDX_IO0);
- init_uart8250(res0->base, &conf->com1);
- break;
- case VT1211_SP2:
- res0 = find_resource(dev, PNP_IDX_IO0);
- init_uart8250(res0->base, &conf->com2);
- break;
case VT1211_HWM:
res0 = find_resource(dev, PNP_IDX_IO0);
init_hwm(res0->base);