From 61c3b593e4beab51200d66c1f7092620d3f10ffc Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Tue, 17 Jul 2018 11:36:15 +0200 Subject: superio/nuvoton/npcd378: Fix resource size Based on vendor ACPI code. Change-Id: I4d6785efb9d18953042775e7164710ef3c041ed5 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/27509 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/superio/nuvoton/npcd378/superio.c | 12 ++++++------ 1 file 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_IO0|PNP_MSC8|PNP_MSC9| - PNP_MSCA|PNP_MSCB|PNP_MSCC|PNP_MSCD|PNP_MSCE, 0x0ff8}, + PNP_MSCA|PNP_MSCB|PNP_MSCC|PNP_MSCD|PNP_MSCE, 0x0fe0}, { NULL, NPCD378_HWM, PNP_IO0|PNP_MSC0|PNP_MSC1|PNP_MSC2|PNP_MSC3| - PNP_MSC4|PNP_MSC5|PNP_MSC6|PNP_MSC7|PNP_IRQ0, 0x0ff8}, + PNP_MSC4|PNP_MSC5|PNP_MSC6|PNP_MSC7|PNP_IRQ0, 0x0f00}, { NULL, NPCD378_GPIO_PP_OD, 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}, { NULL, NPCD378_I2C, 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}, - { NULL, NPCD378_SUSPEND, PNP_IO0, 0x0ff8 }, + 0x0ff0, 0x0ff0}, + { NULL, NPCD378_SUSPEND, PNP_IO0, 0x0fe0 }, { NULL, NPCD378_GPIOA, PNP_IO0|PNP_MSC0|PNP_MSC1|PNP_MSC2|PNP_MSC3| - PNP_MSC4, 0x0ff8}, + PNP_MSC4, 0x0fe0}, }; static void enable_dev(struct device *dev) -- cgit v1.2.3