aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/samus/thermal.h
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2013-10-12 11:50:05 +0800
committerIsaac Christensen <isaac.christensen@se-eng.com>2014-09-08 19:02:51 +0200
commit1eca1d4e15c254b1f63336b991bf1a81b70712c0 (patch)
treed07088b8fc026ed15a7b9238f98c77ffbbcd78a7 /src/mainboard/google/samus/thermal.h
parent51edd54738b2248e92580caa317aa4e8e1694d40 (diff)
samus: Change thermal behavior to match other haswell platforms
Change-Id: Ia835f16b156949f1841210c4a469223d5df28a54 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/174087 Reviewed-by: Aaron Durbin <adurbin@chromium.org> (cherry picked from commit 8e51d1d74cdcadde9cbf10e8321d601b099c46bc) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6825 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/samus/thermal.h')
-rw-r--r--src/mainboard/google/samus/thermal.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/mainboard/google/samus/thermal.h b/src/mainboard/google/samus/thermal.h
index 75f247c1ed..89069a62f2 100644
--- a/src/mainboard/google/samus/thermal.h
+++ b/src/mainboard/google/samus/thermal.h
@@ -20,24 +20,18 @@
#ifndef THERMAL_H
#define THERMAL_H
-/* Config TDP Sensor ID */
-#define CTDP_SENSOR_ID 0 /* PECI */
+#define TEMPERATURE_SENSOR_ID 0 /* PECI */
-/* Config TDP Nominal */
-#define CTDP_NOMINAL_THRESHOLD_OFF 0
-#define CTDP_NOMINAL_THRESHOLD_ON 0
-
-/* Config TDP Down */
-#define CTDP_DOWN_THRESHOLD_OFF 80
-#define CTDP_DOWN_THRESHOLD_ON 90
+/* Power level to set when EC requests throttle */
+#define EC_THROTTLE_POWER_LIMIT 12 /* 12W */
/* Temperature which OS will shutdown at */
-#define CRITICAL_TEMPERATURE 104
+#define CRITICAL_TEMPERATURE 99
/* Temperature which OS will throttle CPU */
-#define PASSIVE_TEMPERATURE 100
+#define PASSIVE_TEMPERATURE 95
/* Tj_max value for calculating PECI CPU temperature */
-#define MAX_TEMPERATURE 105
+#define MAX_TEMPERATURE 100
#endif