From f00caca13e6d1f59ead3e72e8ac5f400f7510835 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Thu, 30 Dec 2021 01:09:03 +0100 Subject: ec/quanta/it8518/acpi: Replace Subtract(a,b,c) with ASL 2.0 syntax Replace `Subtract (a, b, c)` with `c = a - b`. Change-Id: Ifcdc29dbc3874180bd0692260ea250a1a6c86d41 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60480 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- src/ec/quanta/it8518/acpi/battery.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl index de51206007..92947332de 100644 --- a/src/ec/quanta/it8518/acpi/battery.asl +++ b/src/ec/quanta/it8518/acpi/battery.asl @@ -265,7 +265,7 @@ Device (BATX) { If (And (Local0, 1)) { - Subtract (0x10000, Local1, Local1) + Local1 = 0x10000 - Local1 } Else { -- cgit v1.2.3