summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-12-31 13:21:47 +0100
committerFelix Singer <felixsinger@posteo.net>2022-01-01 14:08:00 +0000
commitab626637673bee35b867dff6dae23c920890481c (patch)
tree6fb19af08befdd57fb3ed4e64e8f9e5614af8034 /src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl
parent406453c973f5bf48c6ceb62fc388564ac60b6aa8 (diff)
downloadcoreboot-ab626637673bee35b867dff6dae23c920890481c.tar.gz
coreboot-ab626637673bee35b867dff6dae23c920890481c.tar.bz2
coreboot-ab626637673bee35b867dff6dae23c920890481c.zip
mb/google/jecht: Replace LOr() with ASL 2.0 syntax
Replace `LOr (a, b)` with `a || b`. Change-Id: Ib34e8af6668e3c875fabd1fa84862109afa94d18 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60577 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl')
-rw-r--r--src/mainboard/google/jecht/variants/tidus/include/variant/acpi/thermal.asl4
1 files changed, 2 insertions, 2 deletions
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 050e2d529f36..5fe7a1889c67 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
@@ -112,7 +112,7 @@ Scope (\_TZ)
}
// Check for invalid readings
- If (LOr (LEqual (Local0, 255), LEqual (Local0, 0))) {
+ If (LEqual (Local0, 255) || LEqual (Local0, 0)) {
Store (THERMAL_POLICY_0_THRESHOLD_ON, Local0)
}
@@ -177,7 +177,7 @@ Scope (\_TZ)
}
// Check for invalid readings
- If (LOr (LEqual (Local0, 255), LEqual (Local0, 0))) {
+ If (LEqual (Local0, 255) || LEqual (Local0, 0)) {
Return (CTOK (FAN0_0_THRESHOLD_ON))
}