From e18277a998c56623c10ca6af441fd4c61afb8b10 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 02:00:31 +0100 Subject: [PATCH] mb/aopen/dxplplusu/acpi: Replace LGreater(a,b) with ASL 2.0 syntax Replace `LGreater(a, b)` with `a > b`. Change-Id: If482b2ad4ba7d4ed1ca8c0695690ede153ed1e2a Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60686 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl b/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl index f8c7b2e23a..aab327134a 100644 --- a/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl +++ b/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl @@ -38,7 +38,7 @@ Device (MBRS) And (\_SB.PCI0.RLAR, 0x03FF, Local1) Local1++ - If (LGreater (Local1, 0x40)) + If (Local1 > 0x40) { ShiftLeft (Local1, 0x1A, LELM) } @@ -50,7 +50,7 @@ Device (MBRS) And (\_SB.PCI0.TOLM, 0xF800, Local1) ShiftRight (Local1, 0x04, Local1) Local1-- - If (LGreater (Local1, 0x10)) + If (Local1 > 0x10) { Local1 -= 0x0F Store (ShiftLeft (Local1, 0x14), MEM2)