From d03b7701386d9a48f445d1b3540a71e3d58695ba Mon Sep 17 00:00:00 2001 From: Mike Lee Date: Thu, 19 Aug 2021 15:08:57 +0000 Subject: Revert "storo: update EC thermal table" This reverts commit 9193fc043f70b7fa657e30605ec18b1f548b2ac8. Reason for revert: Because this CL affects the boot problem of ac only Original change's description: > storo: update EC thermal table > > Update EC thermal table for throttle and shutdown point. > > BUG=b:194967456 > BRANCH=dedede > TEST=make BOARD=storo and verify function pass by thermal team. > > Signed-off-by: mike > Change-Id: Ia5f78111c40aee613bfba5e96ce0af93cb7c81e5 > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3062706 > Reviewed-by: Aseda Aboagye > Commit-Queue: Aseda Aboagye Bug: b:197199689 Change-Id: I59374bf9a95abf606d11575456fefafdbd84507c Signed-off-by: Mike Lee Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3106908 Reviewed-by: Aseda Aboagye Commit-Queue: Aseda Aboagye --- board/storo/board.c | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'board/storo/board.c') diff --git a/board/storo/board.c b/board/storo/board.c index 6fd7e2bbf2..ab920e0592 100644 --- a/board/storo/board.c +++ b/board/storo/board.c @@ -866,40 +866,6 @@ const struct temp_sensor_t temp_sensors[] = { }; BUILD_ASSERT(ARRAY_SIZE(temp_sensors) == TEMP_SENSOR_COUNT); -const static struct ec_thermal_config thermal_memory = { - .temp_host = { - [EC_TEMP_THRESH_HIGH] = C_TO_K(70), - [EC_TEMP_THRESH_HALT] = C_TO_K(80), - }, - .temp_host_release = { - [EC_TEMP_THRESH_HIGH] = C_TO_K(60), - }, -}; -const static struct ec_thermal_config thermal_ambient = { - .temp_host = { - [EC_TEMP_THRESH_HIGH] = C_TO_K(85), - [EC_TEMP_THRESH_HALT] = C_TO_K(90), - }, - .temp_host_release = { - [EC_TEMP_THRESH_HIGH] = 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(90), - }, - .temp_host_release = { - [EC_TEMP_THRESH_HIGH] = C_TO_K(75), - }, -}; -struct ec_thermal_config thermal_params[] = { - [TEMP_SENSOR_1] = thermal_memory, - [TEMP_SENSOR_2] = thermal_ambient, - [TEMP_SENSOR_3] = thermal_cpu, -}; -BUILD_ASSERT(ARRAY_SIZE(thermal_params) == TEMP_SENSOR_COUNT); - /* This callback disables keyboard when convertibles are fully open */ __override void lid_angle_peripheral_enable(int enable) { -- cgit v1.2.1