From 50002b7fac5f3ef7c2124893d55a49405ff2e02f Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 29 Jul 2022 01:46:06 +0200 Subject: arch/x86/acpi: Replace Add(a,b,c) with ASL 2.0 syntax Replace `Add (a, b, c)` with `c = a + b`. Change-Id: If848d391e5ec33ebfb08515414739dbdd5011e08 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/66249 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes Reviewed-by: Sridhar Siricilla --- src/arch/x86/acpi/debug.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/x86/acpi') diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl index 3f04b03c37..41d123520e 100644 --- a/src/arch/x86/acpi/debug.asl +++ b/src/arch/x86/acpi/debug.asl @@ -77,9 +77,9 @@ Method(DBGN, 1) { and(Arg0, 0x0f, Local0) if (LLess(Local0, 10)) { - add(Local0, 0x30, Local0) + Local0 += 0x30 } else { - add(Local0, 0x37, Local0) + Local0 += 0x37 } OUTC(Local0) } -- cgit v1.2.3