summaryrefslogtreecommitdiff
path: root/src/mainboard/aopen
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 13:24:35 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:08:13 +0000
commitca1b2a5b658a3c9e730cb80591d8b5b7990dc390 (patch)
tree73f159bd79c93b03af219648991e83c02f7c0b83 /src/mainboard/aopen
parentab626637673bee35b867dff6dae23c920890481c (diff)
mb/aopen/dxplplusu/acpi: Replace LOr() with ASL 2.0 syntax
Replace `LOr (a, b)` with `a || b`. Change-Id: Ib563f8ce5873e53c94992d81e78118a1194fc9af Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60578 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/aopen')
-rw-r--r--src/mainboard/aopen/dxplplusu/acpi/superio.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/aopen/dxplplusu/acpi/superio.asl b/src/mainboard/aopen/dxplplusu/acpi/superio.asl
index 98890322c3..d3ae8676cb 100644
--- a/src/mainboard/aopen/dxplplusu/acpi/superio.asl
+++ b/src/mainboard/aopen/dxplplusu/acpi/superio.asl
@@ -144,7 +144,7 @@ Method (MLED, 1, NotSerialized)
Store (0x00, LED1)
}
- If (LOr (LEqual (Arg0, 0x01), LEqual (Arg0, 0x02)))
+ If (LEqual (Arg0, 0x01) || LEqual (Arg0, 0x02))
{
Store (0x01, LED1)
}
@@ -154,7 +154,7 @@ Method (MLED, 1, NotSerialized)
Store (0x02, LED1)
}
- If (LOr (LEqual (Arg0, 0x04), LEqual (Arg0, 0x05)))
+ If (LEqual (Arg0, 0x04) || LEqual (Arg0, 0x05))
{
Store (0x03, LED1)
}