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 <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60575
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl
index f53872e..326b717 100644
--- a/src/superio/winbond/w83627hf/acpi/superio.asl
+++ b/src/superio/winbond/w83627hf/acpi/superio.asl
@@ -204,7 +204,7 @@
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -428,7 +428,7 @@
Store (0x0D, Local0)
}
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -605,7 +605,7 @@
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -729,7 +729,7 @@
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -854,7 +854,7 @@
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -978,7 +978,7 @@
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}
@@ -1064,7 +1064,7 @@
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 @@
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 @@
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 @@
{
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 @@
If (ACTR) {
Store (0x0F, Local0)
}
- ElseIf (LOr (IO1H, IO1L))
+ ElseIf (IO1H || IO1L)
{
Store (0x0D, Local0)
}