From 0c0715bdadcd6aec298e52d1faf6b33e30769a5f Mon Sep 17 00:00:00 2001 From: Keith Short Date: Fri, 12 Feb 2021 15:25:05 -0700 Subject: 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 Change-Id: Ib0d5b6e05d480806239447885be15f1041f0df2c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2693755 Reviewed-by: Simon Glass Commit-Queue: Simon Glass --- zephyr/shim/include/config_chip.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1