summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-30 01:48:51 +0100
committerFelix Singer <felixsinger@posteo.net>2021-12-31 08:55:01 +0000
commit26fbcc91d6426ebf157639793b92d87197a35d8b (patch)
treee6de42324a9503eb8e695614fe6d7ce75528009c
parenta2ad07dc690bcad4b14c4a186641fa5c40f8a633 (diff)
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 <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60493 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
-rw-r--r--src/ec/starlabs/merlin/acpi/ec.asl2
1 files changed, 1 insertions, 1 deletions
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
}