From d40d0b0398684eeabab1d12bbbf223b7725502f6 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 02:20:50 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/60691 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/ec/quanta/it8518/acpi/battery.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {