Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60476 )
Change subject: superio/winbond/w83627hf/acpi: Replace Subtract(a,b,c) with ASL 2.0 syntax ......................................................................
superio/winbond/w83627hf/acpi: Replace Subtract(a,b,c) with ASL 2.0 syntax
Replace `Subtract (a, b, c)` with `c = a - b`.
Change-Id: Idd97e662ec4be7092a655bc298dffb6d826bc497 Signed-off-by: Felix Singer felixsinger@posteo.net --- M src/superio/winbond/w83627hf/acpi/superio.asl 1 file changed, 7 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/76/60476/1
diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl index 2061030..5db7ca8 100644 --- a/src/superio/winbond/w83627hf/acpi/superio.asl +++ b/src/superio/winbond/w83627hf/acpi/superio.asl @@ -583,7 +583,7 @@ /* DMA off */ Store (0x04, DMA0) /* IRQ */ - Subtract(FindSetLeftBit (IRQL), 1, IRQ0) + IRQ0 = FindSetLeftBit (IRQL) - 1 /* Activate */ Store (One, ACTR) EXIT_CONFIG_MODE () @@ -701,7 +701,7 @@
Divide(IOA0, 256, Local0, Local1)
- Subtract(FindSetLeftBit (IRQL), 1, Local3) + Local3 = FindSetLeftBit (IRQL) - 1
ENTER_CONFIG_MODE (2) Store (Local0, IO1L) @@ -826,7 +826,7 @@
Divide(IOA0, 256, Local0, Local1)
- Subtract(FindSetLeftBit (IRQL), 1, Local3) + Local3 = FindSetLeftBit (IRQL) - 1
ENTER_CONFIG_MODE (3) Store (Local0, IO1L) @@ -951,7 +951,7 @@
Divide(IOA0, 256, Local0, Local1)
- Subtract(FindSetLeftBit (IRQL), 1, Local3) + Local3 = FindSetLeftBit (IRQL) - 1
ENTER_CONFIG_MODE (3) Store (Local0, IO1L) @@ -1038,7 +1038,7 @@
Divide(IOA0, 256, Local0, Local1)
- Subtract(FindSetLeftBit (IRQL), 1, Local3) + Local3 = FindSetLeftBit (IRQL) - 1
ENTER_CONFIG_MODE (6) Store (Local0, IO1L) @@ -1143,7 +1143,7 @@ Divide(IOA0, 256, Local0, Local1) Divide(IOA1, 256, Local2, Local3)
- Subtract(FindSetLeftBit (IRQL), 1, Local4) + Local4 = FindSetLeftBit (IRQL) - 1
ENTER_CONFIG_MODE (5) Store (Local0, IO1L) @@ -1222,7 +1222,7 @@ }) CreateWordField (Arg0, IRQX._INT, IRQL)
- Subtract(FindSetLeftBit (IRQL), 1, Local0) + Local0 = FindSetLeftBit (IRQL) - 1
ENTER_CONFIG_MODE (5) Store (Local0, IRQ1)