aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/falco/thermal.h
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2013-07-15 09:17:09 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2013-12-21 07:28:30 +0100
commit29f76884092dbd8de492437e9656e48671a12530 (patch)
treee5612ec1c813d8234964fdcd5756807e07592f84 /src/mainboard/google/falco/thermal.h
parenta9dc05130e1a13cb9f6bf55f46071f4977029273 (diff)
haswell boards: Use PECI temp sensor id 0
The EC temperature sensors were renumbered and now PECI is at index 0. 1) boot on falco 2) check /sys/class/thermal/thermal_zone0/temp 3) check 'temps' on ec console Change-Id: Idde1457c42c80850b5b8ac22781060ed9b224d13 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/61896 Reviewed-on: http://review.coreboot.org/4367 Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/google/falco/thermal.h')
-rw-r--r--src/mainboard/google/falco/thermal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/falco/thermal.h b/src/mainboard/google/falco/thermal.h
index 0ae3edb23f..cfda67d66c 100644
--- a/src/mainboard/google/falco/thermal.h
+++ b/src/mainboard/google/falco/thermal.h
@@ -20,6 +20,8 @@
#ifndef THERMAL_H
#define THERMAL_H
+#define TEMPERATURE_SENSOR_ID 0 /* PECI */
+
/* Temperature which OS will shutdown at */
#define CRITICAL_TEMPERATURE 104