[coreboot] [commit] r6522 - in trunk/src/superio: nsc/pc87382 via/vt1211

repository service svn at coreboot.org
Wed Apr 20 03:03:59 CEST 2011


Author: stepan
Date: Wed Apr 20 03:03:58 2011
New Revision: 6522
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6522

Log:
fix boards that still had some uart init remainders
Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer at coreboot.org>

Modified:
   trunk/src/superio/nsc/pc87382/superio.c
   trunk/src/superio/via/vt1211/vt1211.c

Modified: trunk/src/superio/nsc/pc87382/superio.c
==============================================================================
--- trunk/src/superio/nsc/pc87382/superio.c	Tue Apr 19 23:33:40 2011	(r6521)
+++ trunk/src/superio/nsc/pc87382/superio.c	Wed Apr 20 03:03:58 2011	(r6522)
@@ -32,8 +32,6 @@
 
 static void init(device_t dev)
 {
-	struct superio_nsc_pc87382_config *conf = dev->chip_info;
-
 	if (!dev->enabled)
 		return;
 

Modified: trunk/src/superio/via/vt1211/vt1211.c
==============================================================================
--- trunk/src/superio/via/vt1211/vt1211.c	Tue Apr 19 23:33:40 2011	(r6521)
+++ trunk/src/superio/via/vt1211/vt1211.c	Wed Apr 20 03:03:58 2011	(r6522)
@@ -93,21 +93,12 @@
 
 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);




More information about the coreboot mailing list