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>
This commit is contained in:
parent
3a7227852b
commit
411bf97c22
|
@ -712,7 +712,7 @@ Device(SIO) {
|
||||||
IRQNoFlags (IRQX) {}
|
IRQNoFlags (IRQX) {}
|
||||||
})
|
})
|
||||||
CreateWordField (Arg0, IO0._MIN, IOA0)
|
CreateWordField (Arg0, IO0._MIN, IOA0)
|
||||||
CreateByteField (Arg0, IRQX._INT, IRQL)
|
CreateWordField (Arg0, IRQX._INT, IRQL)
|
||||||
|
|
||||||
Divide(IOA0, 256, Local0, Local1)
|
Divide(IOA0, 256, Local0, Local1)
|
||||||
|
|
||||||
|
@ -1153,7 +1153,7 @@ Device(SIO) {
|
||||||
})
|
})
|
||||||
CreateWordField (Arg0, IO0._MIN, IOA0)
|
CreateWordField (Arg0, IO0._MIN, IOA0)
|
||||||
CreateWordField (Arg0, IO1._MIN, IOA1)
|
CreateWordField (Arg0, IO1._MIN, IOA1)
|
||||||
CreateByteField (Arg0, IRQX._INT, IRQL)
|
CreateWordField (Arg0, IRQX._INT, IRQL)
|
||||||
|
|
||||||
Divide(IOA0, 256, Local0, Local1)
|
Divide(IOA0, 256, Local0, Local1)
|
||||||
Divide(IOA1, 256, Local2, Local3)
|
Divide(IOA1, 256, Local2, Local3)
|
||||||
|
@ -1235,7 +1235,7 @@ Device(SIO) {
|
||||||
Name (TMPL, ResourceTemplate () {
|
Name (TMPL, ResourceTemplate () {
|
||||||
IRQNoFlags (IRQX) {}
|
IRQNoFlags (IRQX) {}
|
||||||
})
|
})
|
||||||
CreateByteField (Arg0, IRQX._INT, IRQL)
|
CreateWordField (Arg0, IRQX._INT, IRQL)
|
||||||
|
|
||||||
Subtract(FindSetLeftBit (IRQL), 1, Local0)
|
Subtract(FindSetLeftBit (IRQL), 1, Local0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue