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>
This commit is contained in:
Felix Singer 2022-01-02 02:00:31 +01:00
parent 6c84832e9f
commit e18277a998
1 changed files with 2 additions and 2 deletions

View File

@ -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)