summaryrefslogtreecommitdiff
path: root/src/mainboard/google/slippy/acpi/thermal.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/slippy/acpi/thermal.asl')
-rw-r--r--src/mainboard/google/slippy/acpi/thermal.asl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/google/slippy/acpi/thermal.asl b/src/mainboard/google/slippy/acpi/thermal.asl
index c71b8dbfce..38baad631b 100644
--- a/src/mainboard/google/slippy/acpi/thermal.asl
+++ b/src/mainboard/google/slippy/acpi/thermal.asl
@@ -64,7 +64,7 @@ Scope (\_TZ)
Method (TCHK, 0, Serialized)
{
// Get Temperature from TIN# set in NVS
- Store (\_SB.PCI0.LPCB.EC0.TINS (TMPS), Local0)
+ Local0 = \_SB.PCI0.LPCB.EC0.TINS (TMPS)
// Check for sensor not calibrated
If (Local0 == \_SB.PCI0.LPCB.EC0.TNCA) {
@@ -97,10 +97,10 @@ Scope (\_TZ)
Method (_TMP, 0, Serialized)
{
// Get temperature from EC in deci-kelvin
- Store (TCHK (), Local0)
+ Local0 = TCHK ()
// Critical temperature in deci-kelvin
- Store (CTOK (\TCRT), Local1)
+ Local1 = CTOK (\TCRT)
If (Local0 >= Local1) {
Printf ("CRITICAL TEMPERATURE: %o", Local0)
@@ -109,7 +109,7 @@ Scope (\_TZ)
Sleep (1000)
// Re-read temperature from EC
- Store (TCHK (), Local0)
+ Local0 = TCHK ()
Printf ("RE-READ TEMPERATURE: %o", Local0)
}