summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-12-25 08:14:39 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-26 11:45:10 +0000
commitcfdd4884409bdf6eae8b12d98810df88873ae754 (patch)
tree0f180ff2e72451bed5d917ae3367579956754f5b
parente007893a8e7a771724c84160560f75fc96ca6906 (diff)
sio/acpi/pnp.asl: Replace Not(a) with ASL 2.0 syntax
Change-Id: Icbd2ab736b9fc3300ee82896c31b373fe92e1d54 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71509 Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/superio/acpi/pnp.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/acpi/pnp.asl b/src/superio/acpi/pnp.asl
index 4d3adaa9ed..1f63e825da 100644
--- a/src/superio/acpi/pnp.asl
+++ b/src/superio/acpi/pnp.asl
@@ -87,7 +87,7 @@
/* Disable power saving mode */
#define PNP_GENERIC_PS0(PM_REG, PM_VAL, PM_LDN) \
ENTER_CONFIG_MODE (PM_LDN)\
- PM_REG = Not(PM_VAL) \
+ PM_REG = ~PM_VAL \
EXIT_CONFIG_MODE ()
/* Enable power saving mode */