diff options
author | Mike Lee <mike5@huaqin.corp-partner.google.com> | 2021-08-19 15:08:57 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-19 20:03:17 +0000 |
commit | d03b7701386d9a48f445d1b3540a71e3d58695ba (patch) | |
tree | da8d149a4f82ecec9349507713beced3ef4308f8 | |
parent | 4d6836806b80bdcbb943294285ba77b024b7a22b (diff) | |
download | chrome-ec-d03b7701386d9a48f445d1b3540a71e3d58695ba.tar.gz |
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 <mike5@huaqin.corp-partner.google.com>
> Change-Id: Ia5f78111c40aee613bfba5e96ce0af93cb7c81e5
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3062706
> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
> Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Bug: b:197199689
Change-Id: I59374bf9a95abf606d11575456fefafdbd84507c
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3106908
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r-- | board/storo/board.c | 34 | ||||
-rw-r--r-- | board/storo/board.h | 3 |
2 files changed, 0 insertions, 37 deletions
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) { diff --git a/board/storo/board.h b/board/storo/board.h index 37a89a94a5..a89bde6fcf 100644 --- a/board/storo/board.h +++ b/board/storo/board.h @@ -88,9 +88,6 @@ #define CONFIG_TEMP_SENSOR #define CONFIG_THERMISTOR #define CONFIG_STEINHART_HART_3V3_51K1_47K_4050B -#define CONFIG_THROTTLE_AP -#define CONFIG_CMD_APTHROTTLE -#define CONFIG_CHIPSET_CAN_THROTTLE /* USB Mux and Retimer */ #define CONFIG_USB_MUX_IT5205 /* C1: ITE Mux */ |