summaryrefslogtreecommitdiff
path: root/src/mainboard/google/jecht/variants/guado
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-01-02 02:28:21 +0100
committerFelix Singer <felixsinger@posteo.net>2022-06-09 09:08:29 +0000
commit6c84832e9fb9e102bf5f6377399fa2e6f81e2417 (patch)
treeae11dacea2ba2c7d7d1f453e01180807ecdc19c4 /src/mainboard/google/jecht/variants/guado
parente0545cc2bb913d12e37f03fc55d48d1ef10aec8d (diff)
mb/google/jecht/acpi: Replace LGreaterEqual(a,b) with ASL 2.0 syntax
Replace `LGreaterEqual(a, b)` with `a >= b`. Change-Id: I56e8fdb2503a84ded2bcf183402602579c3f2997 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60694 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sean Rhodes <sean@starlabs.systems>
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 c8808dd2e5..db3b04679b 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
@@ -77,7 +77,7 @@ Scope (\_TZ)
Local1 = 255 - Local0
// Handle values greater than Tj_max
- If (LGreaterEqual (Local1, \TMAX)) {
+ If (Local1 >= \TMAX) {
Return (CTOK (\TMAX))
}
@@ -94,7 +94,7 @@ Scope (\_TZ)
// Critical temperature in deci-kelvin
Store (CTOK (\TMAX), Local1)
- If (LGreaterEqual (Local0, Local1)) {
+ If (Local0 >= Local1) {
Printf ("CRITICAL TEMPERATURE: %o", Local0)
// Wait 1 second for SuperIO to re-poll