diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-02 02:00:31 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:08:55 +0000 |
commit | e18277a998c56623c10ca6af441fd4c61afb8b10 (patch) | |
tree | 87d9778445675d669f622f054a513594fee79a7f /src/mainboard/aopen/dxplplusu | |
parent | 6c84832e9fb9e102bf5f6377399fa2e6f81e2417 (diff) |
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>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60686
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/mainboard/aopen/dxplplusu')
-rw-r--r-- | src/mainboard/aopen/dxplplusu/acpi/e7505_pri.asl | 4 |
1 files 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) |