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:
parent
6c84832e9f
commit
e18277a998
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue