diff options
author | Kevin Chiu <Kevin.Chiu@quantatw.com> | 2018-07-13 10:57:43 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-07-16 07:42:40 +0000 |
commit | 8aef4f57f85353712e58956d729a8ebb6f375a01 (patch) | |
tree | 3119740c04360fc15fbc79740197e83c5a2215a0 | |
parent | acad6212c8caf94edf84675537e78dd170edf2f4 (diff) | |
download | coreboot-8aef4f57f85353712e58956d729a8ebb6f375a01.tar.xz |
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 <Kevin.Chiu@quantatw.com>
Reviewed-on: https://review.coreboot.org/27469
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r-- | src/mainboard/google/kahlee/variants/careena/include/variant/thermal.h | 2 | ||||
-rw-r--r-- | src/mainboard/google/kahlee/variants/grunt/include/variant/thermal.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 |