ec/google/chromeec/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
Replace `LGreater(a, b)` with `a > b`. Change-Id: Ie6238ead464d79b3576846f3b5b92b658972eec8 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60682 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
510a55d4ee
commit
0e6f7a23e4
|
@ -210,7 +210,7 @@ Method (BBST, 4, Serialized)
|
||||||
|
|
||||||
// See if within ~6% of full
|
// See if within ~6% of full
|
||||||
ShiftRight (Local2, 4, Local3)
|
ShiftRight (Local2, 4, Local3)
|
||||||
If (LGreater (Local1, Local2 - Local3) && Local1 < Local2 + Local3)
|
If (Local1 > Local2 - Local3 && Local1 < Local2 + Local3)
|
||||||
{
|
{
|
||||||
Store (Local2, Local1)
|
Store (Local2, Local1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue