summaryrefslogtreecommitdiff
path: root/src/arch/x86/acpi/debug.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 02:01:58 +0100
committerPaul Fagerburg <pfagerburg@chromium.org>2022-06-03 15:25:40 +0000
commit362de0654c88686f805dbe75a4593c4af3af2652 (patch)
tree1f3387768098ef77da88eb1b029827efc5006d7c /src/arch/x86/acpi/debug.asl
parent9b13bfc6c95f338b9c3a4b2c9114f1d271a79ff2 (diff)
arch/x86/acpi: Replace LGreater(a,b) with ASL 2.0 syntax
Replace `LGreater(a, b)` with `a > b`. Change-Id: I0cabf4f69191fe345fd72619847db384db2e0e87 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60687 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/arch/x86/acpi/debug.asl')
-rw-r--r--src/arch/x86/acpi/debug.asl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/acpi/debug.asl b/src/arch/x86/acpi/debug.asl
index fe71b3e341..fcacd2f492 100644
--- a/src/arch/x86/acpi/debug.asl
+++ b/src/arch/x86/acpi/debug.asl
@@ -125,10 +125,10 @@ Method(DBGO, 1)
{
/* DINI() */
if (ObjectType(Arg0) == 1) {
- if (LGreater(Arg0, 0xffff)) {
+ if (Arg0 > 0xffff) {
DBGD(Arg0)
} else {
- if (LGreater(Arg0, 0xff)) {
+ if (Arg0 > 0xff) {
DBGW(Arg0)
} else {
DBGB(Arg0)