Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/60656 )
Change subject: arch/x86/acpi: Replace LEqual(a,b) with ASL 2.0 syntax ......................................................................
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 felixsinger@posteo.net --- M src/arch/x86/acpi/debug.asl 1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/56/60656/1
diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl index fe6bda2..cfe3646 100644 --- a/src/arch/x86/acpi/debug.asl +++ b/src/arch/x86/acpi/debug.asl @@ -51,7 +51,7 @@ Method(THRE) { and(CLSR, 0x20, local0) - while (Lequal(local0, Zero)) { + while (local0 == 0) { and(CLSR, 0x20, local0) } } @@ -72,7 +72,7 @@ */ Method(OUTC, 1) { - if (LEqual(Arg0, 0x0a)) { + if (Arg0 == 0x0a) { OUTX(0x0d) } OUTX(Arg0) @@ -133,7 +133,7 @@ Method(DBGO, 1) { /* DINI() */ - if (LEqual(ObjectType(Arg0), 1)) { + if (ObjectType(Arg0) == 1) { if (LGreater(Arg0, 0xffff)) { DBGD(Arg0) } else { @@ -149,7 +149,7 @@ store(0, Local1) while (One) { store(GETC(BDBG, Local1), Local0) - if (LEqual(Local0, 0)) { + if (Local0 == 0) { return (0) } OUTC(Local0)