From 433432b6544fc57c7998a66aaa34c45609e4fc8c Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Mon, 3 Jun 2013 10:38:22 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/3743 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/link/acpi/thermal.asl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard/google/link/acpi') 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)) -- cgit v1.2.3