commit | d40d0b0398684eeabab1d12bbbf223b7725502f6 | [log] [tgz] |
---|---|---|
author | Felix Singer <felixsinger@posteo.net> | Sun Jan 02 02:20:50 2022 +0100 |
committer | Felix Singer <felixsinger@posteo.net> | Thu Jun 09 09:15:37 2022 +0000 |
tree | 6ae63d563d9d6a993eadd2d30f1e507350efc883 | |
parent | 3f53ee3269c8f142e2ec81cab2df0b630c10ef39 [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>
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl index 98f6775..072819a 100644 --- a/src/ec/quanta/it8518/acpi/battery.asl +++ b/src/ec/quanta/it8518/acpi/battery.asl
@@ -261,7 +261,7 @@ // 1: BATTERY PRESENT RATE/CURRENT // Store (ECAC, Local1) - If (LGreaterEqual (Local1, 0x8000)) + If (Local1 >= 0x8000) { If (And (Local0, 1)) {