summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-11 20:59:05 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-12 21:58:08 +0000
commitfef71fcebe15b411982b9fbf5c5ea16524652f6a (patch)
tree5db6742de108868f829b7447cf5178776e9b070b /src/mainboard
parentb8762ae2dc559dda2e76a14d27ff4d68d8d6002d (diff)
mb/aopen/dxplplusu/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual (a, b)` with `a == b`. Change-Id: I4fa3942216f1638abeafa0c562f4d6a2a499254b Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70586 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/aopen/dxplplusu/acpi/superio.asl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/aopen/dxplplusu/acpi/superio.asl b/src/mainboard/aopen/dxplplusu/acpi/superio.asl
index b49ef444a1..9f8c6c216a 100644
--- a/src/mainboard/aopen/dxplplusu/acpi/superio.asl
+++ b/src/mainboard/aopen/dxplplusu/acpi/superio.asl
@@ -139,22 +139,22 @@ Method (_INI, 0, NotSerialized)
Method (MLED, 1, NotSerialized)
{
- If (LEqual (Arg0, 0x00))
+ If (Arg0 == 0x00)
{
Store (0x00, LED1)
}
- If (LEqual (Arg0, 0x01) || LEqual (Arg0, 0x02))
+ If (Arg0 == 0x01 || Arg0 == 0x02)
{
Store (0x01, LED1)
}
- If (LEqual (Arg0, 0x03))
+ If (Arg0 == 0x03)
{
Store (0x02, LED1)
}
- If (LEqual (Arg0, 0x04) || LEqual (Arg0, 0x05))
+ If (Arg0 == 0x04 || Arg0 == 0x05)
{
Store (0x03, LED1)
}