summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Marheine <pmarheine@chromium.org>2022-06-15 02:58:57 +1000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-15 20:24:32 +0000
commitc941561bac06c1fe6164947995535cc4a5b9e8a6 (patch)
treea238e479ab64770237409fd3d19f8467cf238e0c
parentd97acfefaa24708ba699dd1bc316ea2f9f44ec6c (diff)
downloadchrome-ec-c941561bac06c1fe6164947995535cc4a5b9e8a6.tar.gz
zephyr: allow only one power sequencing option via kconfig
PLATFORM_EC_POWERSEQ and AP_PWRSEQ implement the same subsystem, so update the kconfig to prevent both from being enabled at the same time. BUG=b:233681784 TEST=zmake testall BRANCH=none Signed-off-by: Peter Marheine <pmarheine@chromium.org> Change-Id: Ied6ffdd8b541acb343ac4e36ea901f9d252717c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3703088 Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--zephyr/Kconfig.powerseq1
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/Kconfig.powerseq b/zephyr/Kconfig.powerseq
index a706cc03bd..f0db496082 100644
--- a/zephyr/Kconfig.powerseq
+++ b/zephyr/Kconfig.powerseq
@@ -5,6 +5,7 @@
menuconfig PLATFORM_EC_POWERSEQ
bool "Power sequencing"
depends on AP
+ depends on !AP_PWRSEQ
select HAS_TASK_CHIPSET
help
Enable shimming the platform/ec AP power sequencing code. This