From 5a303b0bca53626b76be5910942c09970a206461 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 31 Dec 2021 13:12:16 +0100 Subject: superio/winbond/w83627hf/acpi: Replace LOr() with ASL 2.0 syntax Replace `LOr (a, b)` with `a || b`. Change-Id: I96cd391f1bdeea0c7e0c4a71c225a3e6925b4c6b Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60575 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- src/superio/winbond/w83627hf/acpi/superio.asl | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/superio/winbond/w83627hf/acpi') diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl index f53872e035..326b717eee 100644 --- a/src/superio/winbond/w83627hf/acpi/superio.asl +++ b/src/superio/winbond/w83627hf/acpi/superio.asl @@ -204,7 +204,7 @@ Device(SIO) { If (ACTR) { Store (0x0F, Local0) } - ElseIf (LOr (IO1H, IO1L)) + ElseIf (IO1H || IO1L) { Store (0x0D, Local0) } @@ -428,7 +428,7 @@ Device(SIO) { Store (0x0D, Local0) } } - ElseIf (LOr (IO1H, IO1L)) + ElseIf (IO1H || IO1L) { Store (0x0D, Local0) } @@ -605,7 +605,7 @@ Device(SIO) { If (ACTR) { Store (0x0F, Local0) } - ElseIf (LOr (IO1H, IO1L)) + ElseIf (IO1H || IO1L) { Store (0x0D, Local0) } @@ -729,7 +729,7 @@ Device(SIO) { If (ACTR) { Store (0x0F, Local0) } - ElseIf (LOr (IO1H, IO1L)) + ElseIf (IO1H || IO1L) { Store (0x0D, Local0) } @@ -854,7 +854,7 @@ Device(SIO) { If (ACTR) { Store (0x0F, Local0) } - ElseIf (LOr (IO1H, IO1L)) + ElseIf (IO1H || IO1L) { Store (0x0D, Local0) } @@ -978,7 +978,7 @@ Device(SIO) { If (ACTR) { Store (0x0F, Local0) } - ElseIf (LOr (IO1H, IO1L)) + ElseIf (IO1H || IO1L) { Store (0x0D, Local0) } @@ -1064,7 +1064,7 @@ Device(SIO) { If (ACTR) { Store (0x0F, Local0) } - ElseIf (Lor(LOr (IO1H, IO1L), LOr (IO2H, IO2L))) + ElseIf (IO1H || IO1L || IO2H || IO2L) { #ifdef W83627HF_KBC_COMPAT Store (0x0F, Local0) @@ -1169,7 +1169,7 @@ Device(SIO) { If (ACTR && IRQ1) { Store (0x0F, Local0) } - ElseIf (Lor(LOr (IO1H, IO1L), LOr (IO2H, IO2L))) + ElseIf (IO1H || IO1L || IO2H || IO2L) { #ifdef W83627HF_KBC_COMPAT Store (0x0F, Local0) @@ -1244,8 +1244,8 @@ Device(SIO) { Method (_STA) { Store(0, Local0) ENTER_CONFIG_MODE (7) - If (LOr(IO1L, IO1H)) { - If (LOr(ACTR, ACT1)) { + If (IO1L || IO1H) { + If (ACTR || ACT1) { Store (0x0F, Local0) } Else { @@ -1299,8 +1299,8 @@ Device(SIO) { { Store(0, Local0) ENTER_CONFIG_MODE (7) - If (LOr(IO2L, IO2H)) { - If (LOr(ACTR, ACT2)) { + If (IO2L || IO2H) { + If (ACTR || ACT2) { Store (0x0F, Local0) } Else { @@ -1377,7 +1377,7 @@ Device(SIO) { If (ACTR) { Store (0x0F, Local0) } - ElseIf (LOr (IO1H, IO1L)) + ElseIf (IO1H || IO1L) { Store (0x0D, Local0) } -- cgit v1.2.3