summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 00:26:31 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-02-12 17:26:46 +0000
commitd8cf72f7e68dcbfc69f2d2acaa82260cdbed46ab (patch)
tree54ad8bc9a0fd984618058917eb5054bad94bdd41 /src/arch/x86
parent489300358114fe6f9f43aaf02d72c64bf8bc54aa (diff)
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>
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/acpi/debug.asl8
1 files changed, 4 insertions, 4 deletions
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)