aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 14:41:37 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:26:08 +0000
commit6af42005230d05088fe814206fac87b7169fd458 (patch)
tree7ee369d963279b2e4511543450674495424ac776
parente81d12e866d2cb8fe8b2394ee2fe77b8da9b9dda (diff)
mb/google/jecht/acpi: Replace LNot() with ASL 2.0 syntax
Replace `LNot (a)` with `!a`. Change-Id: I4a9165b4610d7d035509b7f10eed0d9847afca1f Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60598 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
-rw-r--r--src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl10
-rw-r--r--src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl10
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)