diff options
author | Keith Short <keithshort@chromium.org> | 2021-02-12 15:25:05 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-13 00:16:32 +0000 |
commit | 0c0715bdadcd6aec298e52d1faf6b33e30769a5f (patch) | |
tree | 5e5874a18762179831b3fbe32e024a00fa2b1233 | |
parent | 30e829b73bd4299059bb8b17e6c10bad17040e7f (diff) | |
download | chrome-ec-0c0715bdadcd6aec298e52d1faf6b33e30769a5f.tar.gz |
zephyr: Fix the CONFIG_CPU_PROCHOT_ACTIVE_LOW option
The KConfig option CONFIG_PLATFORM_EC_POWERSEQ_CPU_PROCHOT_ACTIVE_LOW
was not enabling the correct platform/ec option
CONFIG_CPU_PROCHOT_ACTIVE_LOW.
This greatly speeds up booting the kernel on Zephyr builds as the EC was
previously always asserting PROCHOT to the AP.
BUG=b:177604307
BRANCH=none
TEST=Run zephyr-ec on Volteer
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: Ib0d5b6e05d480806239447885be15f1041f0df2c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2693755
Reviewed-by: Simon Glass <sjg@chromium.org>
Commit-Queue: Simon Glass <sjg@chromium.org>
-rw-r--r-- | zephyr/shim/include/config_chip.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h index 4215fbd3b4..0e61cf755a 100644 --- a/zephyr/shim/include/config_chip.h +++ b/zephyr/shim/include/config_chip.h @@ -344,8 +344,9 @@ enum battery_type { #define CONFIG_CMD_LEDTEST #endif +#undef CONFIG_CPU_PROCHOT_ACTIVE_LOW #ifdef CONFIG_PLATFORM_EC_POWERSEQ_CPU_PROCHOT_ACTIVE_LOW -#define CONFIG_CHIPSET_CPU_PROCHOT_ACTIVE_LOW +#define CONFIG_CPU_PROCHOT_ACTIVE_LOW #endif #undef CONFIG_POWER_TRACK_HOST_SLEEP_STATE |