diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2018-03-16 12:51:46 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-16 20:55:49 -0700 |
commit | e04111356af912c4cccce2b14ce9a98d63dc658c (patch) | |
tree | ce0912c54e9a00a26a72a3a3b0176a13850ab609 /board/nami/board.c | |
parent | 48ac7506dd78dbd12a1f1bf8ca11859873448a9d (diff) | |
download | chrome-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>
Diffstat (limited to 'board/nami/board.c')
-rw-r--r-- | board/nami/board.c | 18 |
1 files changed, 0 insertions, 18 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) \ |