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>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60656
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Felix Singer 2022-01-02 00:26:31 +01:00 committed by Felix Held
parent 4893003581
commit d8cf72f7e6
1 changed files with 4 additions and 4 deletions

View File

@ -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)