[coreboot-gerrit] Change in coreboot[master]: google/grunt: fix thermal zone CPU temperature report

Kevin Chiu (Code Review) gerrit at coreboot.org
Fri Jul 13 05:00:47 CEST 2018


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 at 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

-- 
To view, visit https://review.coreboot.org/27469
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I27afb6c5b64b0c39d6db15e6c61ea16a1fda1ca3
Gerrit-Change-Number: 27469
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Chiu <Kevin.Chiu at quantatw.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180713/5397042a/attachment.html>


More information about the coreboot-gerrit mailing list