Felix Singer has submitted this change. ( https://review.coreboot.org/c/coreboot/+/60578 )
Change subject: mb/aopen/dxplplusu/acpi: Replace LOr() with ASL 2.0 syntax ......................................................................
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 --- M src/mainboard/aopen/dxplplusu/acpi/superio.asl 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified HAOUAS Elyes: Looks good to me, approved
diff --git a/src/mainboard/aopen/dxplplusu/acpi/superio.asl b/src/mainboard/aopen/dxplplusu/acpi/superio.asl index 9889032..d3ae867 100644 --- a/src/mainboard/aopen/dxplplusu/acpi/superio.asl +++ b/src/mainboard/aopen/dxplplusu/acpi/superio.asl @@ -144,7 +144,7 @@ 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 @@ Store (0x02, LED1) }
- If (LOr (LEqual (Arg0, 0x04), LEqual (Arg0, 0x05))) + If (LEqual (Arg0, 0x04) || LEqual (Arg0, 0x05)) { Store (0x03, LED1) }