superio/wpcm450: fix keyboard IO masks

The two IO regions of the keyboard controller are 1 byte long, not 8.

Change-Id: I7319ce9f84181759f4dc7b59c0020f3a5dd5dc03
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/30958
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Felix Held 2019-01-16 14:00:49 +01:00
parent 3f689ca24a
commit b91b0ccfc6
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ static struct pnp_info pnp_dev_info[] = {
{ NULL, WPCM450_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1,
0x07f8, },
{ NULL, WPCM450_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
{ NULL, WPCM450_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07f8, 0x07f8, },
{ NULL, WPCM450_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07ff, 0x07ff, },
};
static void enable_dev(struct device *dev)