summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2019-01-16 14:00:49 +0100
committerFelix Held <felix-coreboot@felixheld.de>2019-01-24 03:01:41 +0000
commitb91b0ccfc63e031dd9c08b8ef16b9abf658cc6c6 (patch)
tree0b1ad0c81984d2a0e6aad9af78e1415d16f2ce02
parent3f689ca24ac93d28c5f564209edab7087b14744a (diff)
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>
-rw-r--r--src/superio/nuvoton/wpcm450/superio.c2
1 files changed, 1 insertions, 1 deletions
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)