summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/jecht/variants/jecht/include
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2022-12-12 00:21:53 +0100
committerFelix Singer <felixsinger@posteo.net>2022-12-12 22:11:13 +0000
commit9a37ae6ef6c3d056d452372c0dc130d075bb9e7b (patch)
tree4289412bd979b3236806e851f676bcb61b3b6de2 /src/mainboard/google/jecht/variants/jecht/include
parent5c8a94ae9effa4612f34c1c774265a540f0e87f0 (diff)
downloadcoreboot-9a37ae6ef6c3d056d452372c0dc130d075bb9e7b.tar.gz
coreboot-9a37ae6ef6c3d056d452372c0dc130d075bb9e7b.tar.bz2
coreboot-9a37ae6ef6c3d056d452372c0dc130d075bb9e7b.zip
mb/google/jecht/acpi: Replace LLessEqual(a,b) with ASL 2.0 syntax
Replace `LLessEqual (a, b)` with `a <= b`. Change-Id: I4af47fdf5bab57c6bbfe417f55de35b074753120 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70621 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/jecht/include')
-rw-r--r--src/mainboard/google/jecht/variants/jecht/include/variant/acpi/thermal.asl20
1 files changed, 10 insertions, 10 deletions
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 6577ee0c466c..77ae4079dca6 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
@@ -110,7 +110,7 @@ Scope (\_TZ)
}
Method (_AC0) {
- If (LLessEqual (\FLVL, 0)) {
+ If (\FLVL <= 0) {
Return (CTOK (FAN0_THRESHOLD_OFF))
} Else {
Return (CTOK (FAN0_THRESHOLD_ON))
@@ -118,7 +118,7 @@ Scope (\_TZ)
}
Method (_AC1) {
- If (LLessEqual (\FLVL, 1)) {
+ If (\FLVL <= 1) {
Return (CTOK (FAN1_THRESHOLD_OFF))
} Else {
Return (CTOK (FAN1_THRESHOLD_ON))
@@ -126,7 +126,7 @@ Scope (\_TZ)
}
Method (_AC2) {
- If (LLessEqual (\FLVL, 2)) {
+ If (\FLVL <= 2) {
Return (CTOK (FAN2_THRESHOLD_OFF))
} Else {
Return (CTOK (FAN2_THRESHOLD_ON))
@@ -134,7 +134,7 @@ Scope (\_TZ)
}
Method (_AC3) {
- If (LLessEqual (\FLVL, 3)) {
+ If (\FLVL <= 3) {
Return (CTOK (FAN3_THRESHOLD_OFF))
} Else {
Return (CTOK (FAN3_THRESHOLD_ON))
@@ -142,7 +142,7 @@ Scope (\_TZ)
}
Method (_AC4) {
- If (LLessEqual (\FLVL, 4)) {
+ If (\FLVL <= 4) {
Return (CTOK (0))
} Else {
Return (CTOK (0))
@@ -158,7 +158,7 @@ Scope (\_TZ)
PowerResource (FNP0, 0, 0)
{
Method (_STA) {
- If (LLessEqual (\FLVL, 0)) {
+ If (\FLVL <= 0) {
Return (One)
} Else {
Return (Zero)
@@ -185,7 +185,7 @@ Scope (\_TZ)
PowerResource (FNP1, 0, 0)
{
Method (_STA) {
- If (LLessEqual (\FLVL, 1)) {
+ If (\FLVL <= 1) {
Return (One)
} Else {
Return (Zero)
@@ -212,7 +212,7 @@ Scope (\_TZ)
PowerResource (FNP2, 0, 0)
{
Method (_STA) {
- If (LLessEqual (\FLVL, 2)) {
+ If (\FLVL <= 2) {
Return (One)
} Else {
Return (Zero)
@@ -239,7 +239,7 @@ Scope (\_TZ)
PowerResource (FNP3, 0, 0)
{
Method (_STA) {
- If (LLessEqual (\FLVL, 3)) {
+ If (\FLVL <= 3) {
Return (One)
} Else {
Return (Zero)
@@ -266,7 +266,7 @@ Scope (\_TZ)
PowerResource (FNP4, 0, 0)
{
Method (_STA) {
- If (LLessEqual (\FLVL, 4)) {
+ If (\FLVL <= 4) {
Return (One)
} Else {
Return (Zero)