ec/google/chromeec/acpi: Replace LLess(a,b) with ASL 2.0 syntax
Replace `LLess(a, b)` with `a < b`. Change-Id: I65225a890f9085574a2295e6ccd2cdc3e84f71e0 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60670 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
362de0654c
commit
29821febc3
|
@ -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) && LLess (Local1, Local2 + Local3))
|
If (LGreater (Local1, Local2 - Local3) && Local1 < Local2 + Local3)
|
||||||
{
|
{
|
||||||
Store (Local2, Local1)
|
Store (Local2, Local1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue