From 411bf97c22dde9943b892a0969470d8b07b23e27 Mon Sep 17 00:00:00 2001 From: Oskar Enoksson Date: Tue, 11 Feb 2014 23:20:14 +0100 Subject: winbond/w83627hf/acpi: Fix some ASL warnings There were ASL compiler warnings about "Size mismatch". This commit eliminates the warnings by changing the ASL declarations of those fields. Change-Id: If851ed4892ef6c96acbff861abd7001ab67d9d66 Signed-off-by: Oskar Enoksson Reviewed-on: http://review.coreboot.org/5190 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/superio/winbond/w83627hf/acpi/superio.asl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl index 85313393e8..943a37d783 100644 --- a/src/superio/winbond/w83627hf/acpi/superio.asl +++ b/src/superio/winbond/w83627hf/acpi/superio.asl @@ -712,7 +712,7 @@ Device(SIO) { IRQNoFlags (IRQX) {} }) CreateWordField (Arg0, IO0._MIN, IOA0) - CreateByteField (Arg0, IRQX._INT, IRQL) + CreateWordField (Arg0, IRQX._INT, IRQL) Divide(IOA0, 256, Local0, Local1) @@ -1153,7 +1153,7 @@ Device(SIO) { }) CreateWordField (Arg0, IO0._MIN, IOA0) CreateWordField (Arg0, IO1._MIN, IOA1) - CreateByteField (Arg0, IRQX._INT, IRQL) + CreateWordField (Arg0, IRQX._INT, IRQL) Divide(IOA0, 256, Local0, Local1) Divide(IOA1, 256, Local2, Local3) @@ -1235,7 +1235,7 @@ Device(SIO) { Name (TMPL, ResourceTemplate () { IRQNoFlags (IRQX) {} }) - CreateByteField (Arg0, IRQX._INT, IRQL) + CreateWordField (Arg0, IRQX._INT, IRQL) Subtract(FindSetLeftBit (IRQL), 1, Local0) -- cgit v1.2.3