diff options
author | Sue Chen <sue.chen@quanta.corp-partner.google.com> | 2021-01-20 13:36:08 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-21 07:04:24 +0000 |
commit | 5c8236e747bc46c8da8131e78f324136cafe6063 (patch) | |
tree | 08afa805e4630521163e8d6afb9d7a25b9b8e133 /board/ezkinil/board.c | |
parent | b0b409cb1cf7d5ba179187b4f00b9148cd5f8eec (diff) | |
download | chrome-ec-5c8236e747bc46c8da8131e78f324136cafe6063.tar.gz |
Ezkinil: Update thermal table
Remove thermal_cpu. Not using TEMP_SENSOR_CPU to do thermal shutdown
and throttle ap.
BUG=b:153937447
BRANCH=zork
TEST=none
Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
Change-Id: Ie953c2feddb6eed42002e408d9edd970af1e34bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2639000
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Diffstat (limited to 'board/ezkinil/board.c')
-rw-r--r-- | board/ezkinil/board.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/board/ezkinil/board.c b/board/ezkinil/board.c index 20d1723043..5e33d46cc5 100644 --- a/board/ezkinil/board.c +++ b/board/ezkinil/board.c @@ -701,18 +701,6 @@ const static struct ec_thermal_config thermal_soc = { .temp_fan_max = C_TO_K(75), }; -const static struct ec_thermal_config thermal_cpu = { - .temp_host = { - [EC_TEMP_THRESH_HIGH] = C_TO_K(85), - [EC_TEMP_THRESH_HALT] = C_TO_K(95), - }, - .temp_host_release = { - [EC_TEMP_THRESH_HIGH] = C_TO_K(80), - }, - .temp_fan_off = 0, - .temp_fan_max = 0, -}; - struct ec_thermal_config thermal_params[TEMP_SENSOR_COUNT]; struct fan_step { @@ -741,7 +729,6 @@ static void setup_fans(void) { thermal_params[TEMP_SENSOR_CHARGER] = thermal_thermistor; thermal_params[TEMP_SENSOR_SOC] = thermal_soc; - thermal_params[TEMP_SENSOR_CPU] = thermal_cpu; } DECLARE_HOOK(HOOK_INIT, setup_fans, HOOK_PRIO_DEFAULT); |