From d8cf72f7e68dcbfc69f2d2acaa82260cdbed46ab Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 00:26:31 +0100 Subject: arch/x86/acpi: Replace LEqual(a,b) with ASL 2.0 syntax Replace `LEqual(a, b)` with `a == b`. Change-Id: Iabfaaee22011a75cc981607d366d61660838ab21 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60656 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak --- src/arch/x86/acpi/debug.asl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/arch/x86') diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl index 60f15956db..cee85e5a5c 100644 --- a/src/arch/x86/acpi/debug.asl +++ b/src/arch/x86/acpi/debug.asl @@ -51,7 +51,7 @@ Method(DINI) Method(THRE) { and(CLSR, 0x20, local0) - while (Lequal(local0, Zero)) { + while (local0 == 0) { and(CLSR, 0x20, local0) } } @@ -72,7 +72,7 @@ Method(OUTX, 1) */ Method(OUTC, 1) { - if (LEqual(Arg0, 0x0a)) { + if (Arg0 == 0x0a) { OUTX(0x0d) } OUTX(Arg0) @@ -133,7 +133,7 @@ Method(DBGD, 1) Method(DBGO, 1) { /* DINI() */ - if (LEqual(ObjectType(Arg0), 1)) { + if (ObjectType(Arg0) == 1) { if (LGreater(Arg0, 0xffff)) { DBGD(Arg0) } else { @@ -149,7 +149,7 @@ Method(DBGO, 1) store(0, Local1) while (One) { store(GETC(BDBG, Local1), Local0) - if (LEqual(Local0, 0)) { + if (Local0 == 0) { return (0) } OUTC(Local0) -- cgit v1.2.3