summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 14:35:35 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:25:39 +0000
commit1a6925cd7cd2cfa630c50645700c014d42c77946 (patch)
treea19ff761d0e488509996c3b7473f19748cabfd16 /src/superio
parentecc63d9bf410a60de7c353d57d3e4d8954963595 (diff)
superio/winbond/w83627hf/acpi: Replace LNot() with ASL 2.0 syntax
Replace `LNot (a)` with `!a`. Change-Id: I9f08cc180614e7d966256b2944745b0bc1d29865 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60596 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/winbond/w83627hf/acpi/superio.asl4
1 files 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)