aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/link/acpi
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2013-06-03 10:38:22 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 21:44:09 +0200
commit433432b6544fc57c7998a66aaa34c45609e4fc8c (patch)
tree4e8e7977396504b8efae05504097a448ef86a3e4 /src/mainboard/google/link/acpi
parente8b08ba47c8b17480bd94eef7dc8a47629191957 (diff)
chrome ec: Update EC header from EC repository
- Updated ec_commands.h is copied in directly from EC repo - Removed "old" interface and update resources for "new" interface - Updated temp sensor constants and added "not calibrated" - Update mainboards to remove check for EC_SWITCH_KEYBOARD_RECOVERY Change-Id: Ic93c1914f86b6f5bc224178270624ed92b5c1e15 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/3743 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/link/acpi')
-rw-r--r--src/mainboard/google/link/acpi/thermal.asl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/link/acpi/thermal.asl b/src/mainboard/google/link/acpi/thermal.asl
index 357c096a17..b5775da1ee 100644
--- a/src/mainboard/google/link/acpi/thermal.asl
+++ b/src/mainboard/google/link/acpi/thermal.asl
@@ -48,6 +48,11 @@ Scope (\_TZ)
// Get CPU Temperature from TIN9/PECI via EC
Store (\_SB.PCI0.LPCB.EC0.TIN9, Local0)
+ // Check for sensor not calibrated
+ If (LEqual (Local0, \_SB.PCI0.LPCB.EC0.TNCA)) {
+ Return (CTOK(0))
+ }
+
// Check for sensor not present
If (LEqual (Local0, \_SB.PCI0.LPCB.EC0.TNPR)) {
Return (CTOK(0))