From 3f37d7afcb964a5d95e9500cd7d51c79d73f749f Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Sun, 2 Jan 2022 00:31:21 +0100 Subject: superio/winbond/w83627hf/acpi: Replace LEqual(a,b) with ASL 2.0 syntax Replace `LEqual(a, b)` with `a == b`. Change-Id: I3833a3a341bd64191cc0b811ca80e96a359307a1 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60658 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes --- src/superio/winbond/w83627hf/acpi/superio.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/superio') diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl index cc4bb87d0c..cb50fe57cb 100644 --- a/src/superio/winbond/w83627hf/acpi/superio.asl +++ b/src/superio/winbond/w83627hf/acpi/superio.asl @@ -493,7 +493,7 @@ Device(SIO) { If (Local4) { Store(0x04, IOAL) } - If (LEqual (Local0, 0xBC)) + If (Local0 == 0xBC) { Store (0x04, IOLE) } @@ -564,7 +564,7 @@ Device(SIO) { CreateByteField (Arg0, IO0._LEN, IOLE) CreateWordField (Arg0, IRQX._INT, IRQL) - If (LEqual(IOAL, 4)) { + If (IOAL == 4) { Store(0x0, Local2) } else { Store(0x1, Local2) -- cgit v1.2.3