diff options
Diffstat (limited to 'src/mainboard')
5 files changed, 14 insertions, 14 deletions
diff --git a/src/mainboard/google/jecht/acpi/mainboard.asl b/src/mainboard/google/jecht/acpi/mainboard.asl index da92d2c027..1b873e359e 100644 --- a/src/mainboard/google/jecht/acpi/mainboard.asl +++ b/src/mainboard/google/jecht/acpi/mainboard.asl @@ -16,7 +16,7 @@ Scope (\_SB.PCI0.RP01) { Store (JECHT_NIC_WAKE_GPIO, Local0) - If (LEqual (Arg0, 1)) { + If (Arg0 == 1) { // Enable GPIO as wake source \_SB.PCI0.LPCB.GPIO.GWAK (Local0) } @@ -38,7 +38,7 @@ Scope (\_SB.PCI0.RP02) { Store (JECHT_WLAN_WAKE_GPIO, Local0) - If (LEqual (Arg0, 1)) { + If (Arg0 == 1) { // Enable GPIO as wake source \_SB.PCI0.LPCB.GPIO.GWAK (Local0) } 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)) } 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 84aea6f849..6577ee0c46 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 @@ -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)) } diff --git a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl b/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl index 84aea6f849..6577ee0c46 100644 --- a/src/mainboard/google/jecht/variants/rikku/include/variant/acpi/thermal.asl +++ b/src/mainboard/google/jecht/variants/rikku/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)) } 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 3aa8fc3e62..4d5ae4d184 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 @@ -107,22 +107,22 @@ Scope (\_TZ) Store (\_SB.PCI0.LPCB.SIO.ENVC.TIN2, Local0) // Check for "no reading available - If (LEqual (Local0, 0x80)) { + If (Local0 == 0x80) { Store (THERMAL_POLICY_0_THRESHOLD_ON, Local0) } // Check for invalid readings - If (LEqual (Local0, 255) || LEqual (Local0, 0)) { + If (Local0 == 255 || Local0 == 0) { Store (THERMAL_POLICY_0_THRESHOLD_ON, Local0) } - If (LEqual (THTB, 2)) { + If (THTB == 2) { If (Local0 >= THERMAL_POLICY_0_THRESHOLD_ON) { TTB0 () } ElseIf (Local0 >= THERMAL_POLICY_1_THRESHOLD_ON) { TTB1 () } - } ElseIf (LEqual (THTB, 1)) { + } ElseIf (THTB == 1) { If (Local0 >= THERMAL_POLICY_0_THRESHOLD_ON) { TTB0 () } ElseIf (LLessEqual (Local0, THERMAL_POLICY_1_THRESHOLD_OFF)) { @@ -172,12 +172,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_0_THRESHOLD_ON)) } // Check for invalid readings - If (LEqual (Local0, 255) || LEqual (Local0, 0)) { + If (Local0 == 255 || Local0 == 0) { Return (CTOK (FAN0_0_THRESHOLD_ON)) } |