Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60686 )
Change subject: mb/aopen/dxplplusu/acpi: Replace LGreater(a,b) with ASL 2.0 syntax ......................................................................
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 felixsinger@posteo.net --- M src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl 1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/60686/1
diff --git a/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl b/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl index f8c7b2e..aab3271 100644 --- a/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl +++ b/src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl @@ -38,7 +38,7 @@
And (_SB.PCI0.RLAR, 0x03FF, Local1) Local1++ - If (LGreater (Local1, 0x40)) + If (Local1 > 0x40) { ShiftLeft (Local1, 0x1A, LELM) } @@ -50,7 +50,7 @@ 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)