summaryrefslogtreecommitdiff
path: root/src/superio/nuvoton
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-07-17 11:36:15 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-07-22 14:02:45 +0000
commit61c3b593e4beab51200d66c1f7092620d3f10ffc (patch)
treeaab90d93cad3819bc669a0b339d0fba390defaa8 /src/superio/nuvoton
parent8cbe3528dc2599c172a1f93768301e7b2c919f91 (diff)
downloadcoreboot-61c3b593e4beab51200d66c1f7092620d3f10ffc.tar.xz
superio/nuvoton/npcd378: Fix resource size
Based on vendor ACPI code. Change-Id: I4d6785efb9d18953042775e7164710ef3c041ed5 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/27509 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/superio/nuvoton')
-rw-r--r--src/superio/nuvoton/npcd378/superio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/superio/nuvoton/npcd378/superio.c b/src/superio/nuvoton/npcd378/superio.c
index 408429c08c..e80d083bb2 100644
--- a/src/superio/nuvoton/npcd378/superio.c
+++ b/src/superio/nuvoton/npcd378/superio.c
@@ -118,24 +118,24 @@ static struct pnp_info pnp_dev_info[] = {
{ NULL, NPCD378_PWR, PNP_IO0|PNP_IO1|PNP_IRQ0|PNP_MSC0|
PNP_MSC1|PNP_MSC2|PNP_MSC3|PNP_MSC4|PNP_MSC5|PNP_MSC6|PNP_MSC7|
PNP_MSC8|PNP_MSC9|PNP_MSCA|PNP_MSCB|PNP_MSCC|PNP_MSCD|PNP_MSCE,
- 0x0ff8, 0x0ff8},
+ 0x0ff8, 0x0ff0},
{ NULL, NPCD378_AUX, PNP_IRQ0, 0x0fff, 0x0fff, },
{ NULL, NPCD378_KBC, PNP_IO0|PNP_IO1|PNP_IRQ0,
0x0fff, 0x0fff, },
{ NULL, NPCD378_WDT1, PNP_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