summaryrefslogtreecommitdiff
path: root/board/glados
diff options
context:
space:
mode:
Diffstat (limited to 'board/glados')
-rw-r--r--board/glados/board.c14
-rw-r--r--board/glados/board.h2
2 files changed, 1 insertions, 15 deletions
diff --git a/board/glados/board.c b/board/glados/board.c
index 29d05f1dea..a6bfb36e15 100644
--- a/board/glados/board.c
+++ b/board/glados/board.c
@@ -196,20 +196,6 @@ const struct temp_sensor_t temp_sensors[] = {
};
BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT);
-/*
- * Thermal limits for each temp sensor. All temps are in degrees K. Must be in
- * same order as enum temp_sensor_id. To always ignore any temp, use 0.
- */
-struct ec_thermal_config thermal_params[] = {
- /* {Twarn, Thigh, Thalt}, fan_off, fan_max */
- {{0, 0, 0}, 0, 0}, /* Battery */
- {{0, 0, 0}, 0, 0}, /* Ambient */
- {{0, 0, 0}, 0, 0}, /* Charger */
- {{0, 0, 0}, 0, 0}, /* DRAM */
- {{0, 0, 0}, 0, 0}, /* Wifi */
-};
-BUILD_ASSERT(ARRAY_SIZE(thermal_params) == TEMP_SENSOR_COUNT);
-
/* ALS instances. Must be in same order as enum als_id. */
struct als_t als[] = {
{"TI", opt3001_init, opt3001_read_lux, 5},
diff --git a/board/glados/board.h b/board/glados/board.h
index c28ae699f7..51f91a8443 100644
--- a/board/glados/board.h
+++ b/board/glados/board.h
@@ -99,7 +99,7 @@
#define CONFIG_TEMP_SENSOR
#define CONFIG_TEMP_SENSOR_BD99992GW
#define CONFIG_THERMISTOR_NCP15WB
-#define CONFIG_THROTTLE_AP
+#define CONFIG_DPTF
/*
* Enable 1 slot of secure temporary storage to support