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>
This commit is contained in:
Felix Singer 2021-12-31 13:21:47 +01:00
parent 406453c973
commit ab62663767
4 changed files with 5 additions and 5 deletions

View File

@ -69,7 +69,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_THRESHOLD_ON))
}

View File

@ -69,7 +69,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_THRESHOLD_ON))
}

View File

@ -69,7 +69,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_THRESHOLD_ON))
}

View File

@ -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))
}