Kevin Chiu has uploaded this change for review. ( https://review.coreboot.org/27469
Change subject: google/grunt: fix thermal zone CPU temperature report ......................................................................
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 --- M src/mainboard/google/kahlee/variants/careena/include/variant/thermal.h 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/27469/1
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 2c983bb..fb67b73 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 TIN0 */
/* Temperature which OS will shutdown at */ #define CRITICAL_TEMPERATURE 94