From 6af42005230d05088fe814206fac87b7169fd458 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 31 Dec 2021 14:41:37 +0100 Subject: mb/google/jecht/acpi: Replace LNot() with ASL 2.0 syntax Replace `LNot (a)` with `!a`. Change-Id: I4a9165b4610d7d035509b7f10eed0d9847afca1f Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/60598 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- .../jecht/variants/guado/include/variant/acpi/thermal.asl | 10 +++++----- .../jecht/variants/jecht/include/variant/acpi/thermal.asl | 10 +++++----- .../jecht/variants/rikku/include/variant/acpi/thermal.asl | 10 +++++----- .../jecht/variants/tidus/include/variant/acpi/thermal.asl | 10 +++++----- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl index c04b37e57d..c8808dd2e5 100644 --- a/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl @@ -165,7 +165,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (0, \FLVL) Store (FAN0_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -192,7 +192,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (1, \FLVL) Store (FAN1_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -219,7 +219,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (2, \FLVL) Store (FAN2_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -246,7 +246,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (3, \FLVL) Store (FAN3_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -273,7 +273,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (4, \FLVL) Store (FAN4_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) diff --git a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl index c04b37e57d..c8808dd2e5 100644 --- a/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl @@ -165,7 +165,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (0, \FLVL) Store (FAN0_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -192,7 +192,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (1, \FLVL) Store (FAN1_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -219,7 +219,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (2, \FLVL) Store (FAN2_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -246,7 +246,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (3, \FLVL) Store (FAN3_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -273,7 +273,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (4, \FLVL) Store (FAN4_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) diff --git a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl index c04b37e57d..c8808dd2e5 100644 --- a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl @@ -165,7 +165,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (0, \FLVL) Store (FAN0_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -192,7 +192,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (1, \FLVL) Store (FAN1_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -219,7 +219,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (2, \FLVL) Store (FAN2_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -246,7 +246,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (3, \FLVL) Store (FAN3_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -273,7 +273,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (4, \FLVL) Store (FAN4_PWM, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) diff --git a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl index 5fe7a1889c..2a7b3f09cb 100644 --- a/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl @@ -273,7 +273,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (0, \FLVL) Store (F0PW, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -300,7 +300,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (1, \FLVL) Store (F1PW, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -327,7 +327,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (2, \FLVL) Store (F2PW, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -354,7 +354,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (3, \FLVL) Store (F3PW, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) @@ -381,7 +381,7 @@ Scope (\_TZ) } } Method (_ON) { - If (LNot (_STA ())) { + If (! _STA ()) { Store (4, \FLVL) Store (F4PW, \_SB.PCI0.LPCB.SIO.ENVC.F2PS) -- cgit v1.2.3