From b91b0ccfc63e031dd9c08b8ef16b9abf658cc6c6 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 16 Jan 2019 14:00:49 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/30958 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/superio/nuvoton/wpcm450/superio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/superio/nuvoton/wpcm450/superio.c b/src/superio/nuvoton/wpcm450/superio.c index fa7a8a0f83..99abfe428b 100644 --- a/src/superio/nuvoton/wpcm450/superio.c +++ b/src/superio/nuvoton/wpcm450/superio.c @@ -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) -- cgit v1.2.3