diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-01-02 02:20:50 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-06-09 09:15:37 +0000 |
commit | d40d0b0398684eeabab1d12bbbf223b7725502f6 (patch) | |
tree | 6ae63d563d9d6a993eadd2d30f1e507350efc883 /src/ec/quanta/it8518 | |
parent | 3f53ee3269c8f142e2ec81cab2df0b630c10ef39 (diff) | |
download | coreboot-d40d0b0398684eeabab1d12bbbf223b7725502f6.tar.gz coreboot-d40d0b0398684eeabab1d12bbbf223b7725502f6.tar.bz2 coreboot-d40d0b0398684eeabab1d12bbbf223b7725502f6.zip |
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/it8518')
-rw-r--r-- | src/ec/quanta/it8518/acpi/battery.asl | 2 |
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 98f677527883..072819a963a0 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)) { |