summaryrefslogtreecommitdiff
path: root/src/ec/quanta
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 02:20:50 +0100
committerFelix Singer <felixsinger@posteo.net>2022-06-09 09:15:37 +0000
commitd40d0b0398684eeabab1d12bbbf223b7725502f6 (patch)
tree6ae63d563d9d6a993eadd2d30f1e507350efc883 /src/ec/quanta
parent3f53ee3269c8f142e2ec81cab2df0b630c10ef39 (diff)
ec/quanta/it8518/acpi: Replace LGreaterEqual(a,b) with ASL 2.0 syntax
Replace `LGreaterEqual(a, b)` with `a >= b`. Change-Id: I99cc4cf08ad74f2cb84e0ad16e615e03bbf388af Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60691 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
Diffstat (limited to 'src/ec/quanta')
-rw-r--r--src/ec/quanta/it8518/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl
index 98f6775278..072819a963 100644
--- a/src/ec/quanta/it8518/acpi/battery.asl
+++ b/src/ec/quanta/it8518/acpi/battery.asl
@@ -261,7 +261,7 @@ Device (BATX)
// 1: BATTERY PRESENT RATE/CURRENT
//
Store (ECAC, Local1)
- If (LGreaterEqual (Local1, 0x8000))
+ If (Local1 >= 0x8000)
{
If (And (Local0, 1))
{