From 8aef4f57f85353712e58956d729a8ebb6f375a01 Mon Sep 17 00:00:00 2001 From: Kevin Chiu Date: Fri, 13 Jul 2018 10:57:43 +0800 Subject: google/grunt: fix thermal zone CPU temperature report there are 3 thermal sensors and index is: 0: 1 Charger 1: 1 SOC 2: 0 CPU it needs to adjust sensor to index 2 to have correct CPU temperature. BUG=b:111284412 BRANCH=master TEST=emerge-grunt coreboot Change-Id: I27afb6c5b64b0c39d6db15e6c61ea16a1fda1ca3 Signed-off-by: Kevin Chiu Reviewed-on: https://review.coreboot.org/27469 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Martin Roth --- src/mainboard/google/kahlee/variants/careena/include/variant/thermal.h | 2 +- src/mainboard/google/kahlee/variants/grunt/include/variant/thermal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/google/kahlee/variants/careena/include/variant/thermal.h b/src/mainboard/google/kahlee/variants/careena/include/variant/thermal.h index 2c983bb738..1bb78efa2a 100644 --- a/src/mainboard/google/kahlee/variants/careena/include/variant/thermal.h +++ b/src/mainboard/google/kahlee/variants/careena/include/variant/thermal.h @@ -27,7 +27,7 @@ */ /* Control TDP Settings */ -#define CTL_TDP_SENSOR_ID 0 /* EC TIN0 */ +#define CTL_TDP_SENSOR_ID 2 /* EC TIN2 */ /* Temperature which OS will shutdown at */ #define CRITICAL_TEMPERATURE 94 diff --git a/src/mainboard/google/kahlee/variants/grunt/include/variant/thermal.h b/src/mainboard/google/kahlee/variants/grunt/include/variant/thermal.h index 2c983bb738..1bb78efa2a 100644 --- a/src/mainboard/google/kahlee/variants/grunt/include/variant/thermal.h +++ b/src/mainboard/google/kahlee/variants/grunt/include/variant/thermal.h @@ -27,7 +27,7 @@ */ /* Control TDP Settings */ -#define CTL_TDP_SENSOR_ID 0 /* EC TIN0 */ +#define CTL_TDP_SENSOR_ID 2 /* EC TIN2 */ /* Temperature which OS will shutdown at */ #define CRITICAL_TEMPERATURE 94 -- cgit v1.2.3