summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2018-03-16 12:51:46 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-03-16 20:55:49 -0700
commite04111356af912c4cccce2b14ce9a98d63dc658c (patch)
treece0912c54e9a00a26a72a3a3b0176a13850ab609
parent48ac7506dd78dbd12a1f1bf8ca11859873448a9d (diff)
downloadchrome-ec-e04111356af912c4cccce2b14ce9a98d63dc658c.tar.gz
Nami: Remove thermal control
On Nami, the CPU will manage temperature control. The EC's role is passive. It sends the CPU temperatures read from the sensors upon request and to control the fan speed as instructed. This patch removes thermal control. BUG=b:72959743 BRANCH=none TEST=Boot Nami Change-Id: If4bb7b9774e417813190327c98232eca536ba9c1 Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/967145 Reviewed-by: Furquan Shaikh <furquan@chromium.org>
-rw-r--r--board/nami/board.c18
-rw-r--r--board/nami/board.h2
2 files changed, 0 insertions, 20 deletions
diff --git a/board/nami/board.c b/board/nami/board.c
index c7d5f9086f..2f393ad6d1 100644
--- a/board/nami/board.c
+++ b/board/nami/board.c
@@ -278,24 +278,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}, <on>
- * {Twarn, Thigh, X }, <off>
- * fan_off, fan_max
- */
- {{C_TO_K(80), C_TO_K(85), C_TO_K(88)},
- {C_TO_K(75), C_TO_K(80), C_TO_K(83)},
- C_TO_K(40), C_TO_K(80)}, /* TEMP_SENSOR_I2C_F75303_REMOTE1*/
- {{C_TO_K(75), C_TO_K(80), C_TO_K(83)},
- {C_TO_K(70), C_TO_K(75), C_TO_K(78)},
- C_TO_K(35), C_TO_K(75)}, /* TEMP_SENSOR_I2C_F75303_REMOTE2*/
-};
-BUILD_ASSERT(ARRAY_SIZE(thermal_params) == TEMP_SENSOR_COUNT);
-
#define I2C_PMIC_READ(reg, data) \
i2c_read8(I2C_PORT_PMIC, TPS650X30_I2C_ADDR1, (reg), (data))
#define I2C_PMIC_WRITE(reg, data) \
diff --git a/board/nami/board.h b/board/nami/board.h
index 4e8b8e94dd..6fa886f119 100644
--- a/board/nami/board.h
+++ b/board/nami/board.h
@@ -52,8 +52,6 @@
#define WIRELESS_GPIO_WLAN_POWER GPIO_PP3300_DX_WLAN
#undef CONFIG_SUPPORT_CHIP_HIBERNATION
#define CONFIG_FANS 1
-#define CONFIG_THROTTLE_AP
-#define CONFIG_CHIPSET_CAN_THROTTLE
/* EC console commands */
#define CONFIG_CMD_ACCELS