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
This commit is contained in:
Stefan Reinauer 2011-04-20 01:03:58 +00:00 committed by Stefan Reinauer
parent 13508b94cb
commit 012d867f73
2 changed files with 0 additions and 11 deletions

View File

@ -32,8 +32,6 @@
static void init(device_t dev)
{
struct superio_nsc_pc87382_config *conf = dev->chip_info;
if (!dev->enabled)
return;

View File

@ -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);