summaryrefslogtreecommitdiff
path: root/src/superio/nuvoton/wpcm450/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nuvoton/wpcm450/superio.c')
-rw-r--r--src/superio/nuvoton/wpcm450/superio.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/superio/nuvoton/wpcm450/superio.c b/src/superio/nuvoton/wpcm450/superio.c
index e97be7a198..879f40591e 100644
--- a/src/superio/nuvoton/wpcm450/superio.c
+++ b/src/superio/nuvoton/wpcm450/superio.c
@@ -33,20 +33,11 @@
static void init(device_t dev)
{
struct superio_nuvoton_wpcm450_config *conf = dev->chip_info;
- struct resource *res0;
if (!dev->enabled)
return;
switch(dev->path.pnp.device) {
- case WPCM450_SP1:
- res0 = find_resource(dev, PNP_IDX_IO0);
- init_uart8250(res0->base, &conf->com1);
- break;
- case WPCM450_SP2:
- res0 = find_resource(dev, PNP_IDX_IO0);
- init_uart8250(res0->base, &conf->com2);
- break;
case WPCM450_KBCK:
pc_keyboard_init(&conf->keyboard);
break;