Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60480 )
Change subject: ec/quanta/it8518/acpi: Replace Subtract(a,b,c) with ASL 2.0 syntax ......................................................................
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 felixsinger@posteo.net --- M src/ec/quanta/it8518/acpi/battery.asl 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/60480/1
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl index de51206..9294733 100644 --- a/src/ec/quanta/it8518/acpi/battery.asl +++ b/src/ec/quanta/it8518/acpi/battery.asl @@ -265,7 +265,7 @@ { If (And (Local0, 1)) { - Subtract (0x10000, Local1, Local1) + Local1 = 0x10000 - Local1 } Else {