From 1a6925cd7cd2cfa630c50645700c014d42c77946 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 31 Dec 2021 14:35:35 +0100 Subject: superio/winbond/w83627hf/acpi: Replace LNot() with ASL 2.0 syntax Replace `LNot (a)` with `!a`. Change-Id: I9f08cc180614e7d966256b2944745b0bc1d29865 Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60596 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- src/superio/winbond/w83627hf/acpi/superio.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl index 326b717eee..cc4bb87d0c 100644 --- a/src/superio/winbond/w83627hf/acpi/superio.asl +++ b/src/superio/winbond/w83627hf/acpi/superio.asl @@ -306,7 +306,7 @@ Device(SIO) { EXIT_CONFIG_MODE () ShiftLeft(Local1, 8, Local1) Or(Local1, Local2, Local1) - If (LNot(Local0)) { + If (!Local0) { Return (FDE) } @@ -724,7 +724,7 @@ Device(SIO) { { Store (0x00, Local0) ENTER_CONFIG_MODE (3) - If (LNot(And(OPT2, 0x30))) + If (!And(OPT2, 0x30)) { If (ACTR) { Store (0x0F, Local0) -- cgit v1.2.3