From 26fbcc91d6426ebf157639793b92d87197a35d8b Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Thu, 30 Dec 2021 01:48:51 +0100 Subject: [PATCH] ec/starlabs/merlin/acpi: Replace Add(a,b,c) with ASL 2.0 syntax Replace `Add (a, b, c)` with `c = a + b`. Change-Id: I4f8b71c90f0c56fdb29c4d2e9a2a737f704f3265 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60493 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- src/ec/starlabs/merlin/acpi/ec.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ec/starlabs/merlin/acpi/ec.asl b/src/ec/starlabs/merlin/acpi/ec.asl index 905916c3a2..2c2b8d7f3a 100644 --- a/src/ec/starlabs/merlin/acpi/ec.asl +++ b/src/ec/starlabs/merlin/acpi/ec.asl @@ -126,7 +126,7 @@ Scope (\_SB.PCI0.LPCB) } Sleep (1) Arg1 = Arg0 - Add (Local1, 1, Local1) + Local1 += 1 If (Local1 == 0x03) { Break }