summaryrefslogtreecommitdiff
path: root/src/mainboard/google/jecht/variants/guado
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-11 22:49:56 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-12 22:04:28 +0000
commitb6cbda27171b7f9cede5e58b6c25c52fbd8f0481 (patch)
tree08f908383f9a9566b08a4789875cb33a2752c711 /src/mainboard/google/jecht/variants/guado
parentedec4d9b9a64cf08eb1a722bd7da5d9e58563b34 (diff)
mb/google/jecht/acpi: Replace LEqual(a,b) with ASL 2.0 syntax
Replace `LEqual (a, b)` with `a == b`. Change-Id: I74a6c949fa08a6eb712c053137369242e20e78fe Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70594 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/jecht/variants/guado')
-rw-r--r--src/mainboard/google/jecht/variants/guado/include/variant/acpi/thermal.asl4
1 files changed, 2 insertions, 2 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 84aea6f849..6577ee0c46 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
@@ -64,12 +64,12 @@ Scope (\_TZ)
Store (\_SB.PCI0.LPCB.SIO.ENVC.TIN3, Local0)
// Check for "no reading available
- If (LEqual (Local0, 0x80)) {
+ If (Local0 == 0x80) {
Return (CTOK (FAN0_THRESHOLD_ON))
}
// Check for invalid readings
- If (LEqual (Local0, 255) || LEqual (Local0, 0)) {
+ If (Local0 == 255 || Local0 == 0) {
Return (CTOK (FAN0_THRESHOLD_ON))
}