summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig
diff options
context:
space:
mode:
authorMichał Barnaś <mb@semihalf.com>2021-11-30 18:38:31 +0100
committerCommit Bot <commit-bot@chromium.org>2022-01-10 17:21:32 +0000
commit3ac2fe23458f0c22c1c8fddc9b7f06e21049100e (patch)
treee8ff96fbf51ab2dcb7ca439044720c54c95e87e4 /zephyr/Kconfig
parent42d03a00128e4be0d149e6142d1987518cfead20 (diff)
downloadchrome-ec-3ac2fe23458f0c22c1c8fddc9b7f06e21049100e.tar.gz
zephyr: throttling config should depends on temp sensor
Enabling AP throttling shouldn't be possible when there's no temp sensor enabled. BRANCH=main BUG=b:181983966 TEST=zmake testall Change-Id: I9742f1971b9836f28d097e6ee50802f00b7a951d Signed-off-by: Michał Barnaś <mb@semihalf.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3314584 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r--zephyr/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig
index 4dde997406..496e169ee9 100644
--- a/zephyr/Kconfig
+++ b/zephyr/Kconfig
@@ -747,6 +747,7 @@ config PLATFORM_EC_SYSTEM_UNLOCKED
config PLATFORM_EC_THROTTLE_AP
bool "CPU throttling"
+ depends on PLATFORM_EC_TEMP_SENSOR
help
Enable throttling the CPU based on the temperature sensors. When they
detect that the CPU is getting too hot, the CPU is throttled to