diff options
author | Wai-Hong Tam <waihong@google.com> | 2021-06-04 11:27:35 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-05 03:55:36 +0000 |
commit | 21f920a382a0f1c505323959f95f2a53d776be2b (patch) | |
tree | 2c627beb9c012394ad24a61d5fd834c70339ebc7 | |
parent | 4f6277ffab61d07ad7a63d768021e19e7d4f809d (diff) | |
download | chrome-ec-21f920a382a0f1c505323959f95f2a53d776be2b.tar.gz |
zephyr: Default not enable throttling AP
Only x86 boards requires throttling AP. ARM boards don't. Change the
default to not enable it. It matches the original CrOS EC setting.
BRANCH=None
BUG=b:190224781
TEST=Checked the apthrottle command not enabled on Lazor. Built the
Volteer image without error.
Change-Id: I47b38ed3cd4050cebcce9d7b8edd48686dc64fad
Signed-off-by: Wai-Hong Tam <waihong@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2940579
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | zephyr/Kconfig | 1 | ||||
-rw-r--r-- | zephyr/projects/volteer/delbin/prj.conf | 1 | ||||
-rw-r--r-- | zephyr/projects/volteer/volteer/prj.conf | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig index fffad02861..6866bb35bc 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -545,7 +545,6 @@ config PLATFORM_EC_SYSTEM_UNLOCKED config PLATFORM_EC_THROTTLE_AP bool "CPU throttling" - default y if PLATFORM_EC_POWERSEQ 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 diff --git a/zephyr/projects/volteer/delbin/prj.conf b/zephyr/projects/volteer/delbin/prj.conf index 47dc621a3a..12dbc775c8 100644 --- a/zephyr/projects/volteer/delbin/prj.conf +++ b/zephyr/projects/volteer/delbin/prj.conf @@ -24,6 +24,7 @@ CONFIG_AP=y CONFIG_AP_X86_INTEL_TGL=y CONFIG_PLATFORM_EC_POWERSEQ=y CONFIG_PLATFORM_EC_POWERSEQ_RTC_RESET=y +CONFIG_PLATFORM_EC_THROTTLE_AP=y # TODO(b/180410072): bringup these features CONFIG_PLATFORM_EC_BOARD_VERSION=n diff --git a/zephyr/projects/volteer/volteer/prj.conf b/zephyr/projects/volteer/volteer/prj.conf index 0726a58f84..aa9b8ace51 100644 --- a/zephyr/projects/volteer/volteer/prj.conf +++ b/zephyr/projects/volteer/volteer/prj.conf @@ -58,6 +58,7 @@ CONFIG_PLATFORM_EC_POWERSEQ=y CONFIG_PLATFORM_EC_POWERSEQ_RTC_RESET=y CONFIG_PLATFORM_EC_POWERSEQ_S0IX=y CONFIG_PLATFORM_EC_POWER_SLEEP_FAILURE_DETECTION=y +CONFIG_PLATFORM_EC_THROTTLE_AP=y # PWM CONFIG_PWM=y |