summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorOskar Enoksson <enok@lysator.liu.se>2014-02-11 23:20:14 +0100
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2014-02-12 21:30:33 +0100
commit411bf97c22dde9943b892a0969470d8b07b23e27 (patch)
tree83fb272af05925276ce905552b41c7bf173f1490 /src/superio
parent3a7227852b87fb4963baa31e8c36bc504a007f4d (diff)
downloadcoreboot-411bf97c22dde9943b892a0969470d8b07b23e27.tar.xz
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 <enok@lysator.liu.se> Reviewed-on: http://review.coreboot.org/5190 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/winbond/w83627hf/acpi/superio.asl6
1 files 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)