summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.powerseq
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-03-11 14:24:32 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-18 23:18:44 +0000
commitec4d035fd3d0cbf019de1c6a4da269309fa35b4a (patch)
tree1a62916e86dd20c78af35220ce549d7cae981264 /zephyr/Kconfig.powerseq
parent4a1591bb8a08b65baf394c96d6860a1c0561f729 (diff)
downloadchrome-ec-ec4d035fd3d0cbf019de1c6a4da269309fa35b4a.tar.gz
zephyr: make PLATFORM_EC_POWERSEQ_PP5000_CONTROL available to ARM
The PLATFORM_EC_POWERSEQ_PP5000_CONTROL config option was previously guarded under a PLATFORM_EC_POWERSEQ_INTEL dependency, however the config option is used in the ARM world as well. Drop the Intel dependency. BUG=b:182398910 BRANCH=none TEST=zmake testall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: Ica512cbbd9fb0735ab07192543e95ef27bc0e03f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2774359 Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'zephyr/Kconfig.powerseq')
-rw-r--r--zephyr/Kconfig.powerseq14
1 files changed, 7 insertions, 7 deletions
diff --git a/zephyr/Kconfig.powerseq b/zephyr/Kconfig.powerseq
index 320c08ee78..c01a6742c8 100644
--- a/zephyr/Kconfig.powerseq
+++ b/zephyr/Kconfig.powerseq
@@ -42,6 +42,13 @@ config PLATFORM_EC_HOSTCMD_AP_RESET
Warning: This command skips the normal reset mechanism on the AP and
may leave data unsaved.
+config PLATFORM_EC_POWERSEQ_PP5000_CONTROL
+ bool "Enable a task-safe way to control the PP5000 rail"
+ default y
+ help
+ Guard access to the PP5000 GPIO using mutex locks, allowing
+ the rail to be changed in a task-safe manner.
+
menuconfig PLATFORM_EC_POWERSEQ_INTEL
bool "Enable shimming common Intel power sequencing code"
depends on AP_X86_INTEL
@@ -60,13 +67,6 @@ config PLATFORM_EC_POWERSEQ_CPU_PROCHOT_ACTIVE_LOW
If CPU_PROCHOT should be treated as active-low, enable this
configuration option.
-config PLATFORM_EC_POWERSEQ_PP5000_CONTROL
- bool "Enable a task-safe way to control the PP5000 rail"
- default y
- help
- Guard access to the PP5000 GPIO using mutex locks, allowing
- the rail to be changed in a task-safe manner.
-
config PLATFORM_EC_POWERSEQ_RSMRST_DELAY
bool "Wait at least 10ms before deasserting RSMRST to PCH"
default y if AP_X86_INTEL_TGL