summaryrefslogtreecommitdiffstats
path: root/src/ec/google
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 01:31:17 +0100
committerPaul Fagerburg <pfagerburg@chromium.org>2022-06-03 15:25:47 +0000
commit29821febc3c67f6a94f5e23aaefa83e8cbd77ade (patch)
treed127c1e0b6cbea2d759886324dc8adb2c5eb3725 /src/ec/google
parent362de0654c88686f805dbe75a4593c4af3af2652 (diff)
downloadcoreboot-29821febc3c67f6a94f5e23aaefa83e8cbd77ade.tar.gz
coreboot-29821febc3c67f6a94f5e23aaefa83e8cbd77ade.tar.bz2
coreboot-29821febc3c67f6a94f5e23aaefa83e8cbd77ade.zip
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>
Diffstat (limited to 'src/ec/google')
-rw-r--r--src/ec/google/chromeec/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl
index 2bc6e1cfd9f9..1f9cb976c21e 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -210,7 +210,7 @@ Method (BBST, 4, Serialized)
// See if within ~6% of full
ShiftRight (Local2, 4, Local3)
- If (LGreater (Local1, Local2 - Local3) && LLess (Local1, Local2 + Local3))
+ If (LGreater (Local1, Local2 - Local3) && Local1 < Local2 + Local3)
{
Store (Local2, Local1)
}