diff options
author | Diana Z <dzigterman@chromium.org> | 2022-02-01 14:49:29 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-05 01:27:24 +0000 |
commit | 9e55b639fa8d271534b5137a97e5286d29c25f9d (patch) | |
tree | e16b34c34697fb47333550c05a264056dbad0373 /zephyr/Kconfig.powerseq | |
parent | 29619ad8feefc30b25913605857da3a002f4cdf2 (diff) | |
download | chrome-ec-9e55b639fa8d271534b5137a97e5286d29c25f9d.tar.gz |
Power: Add fake S0 console command
Add a console command which can be used to sequence into S0, even when
the SoC isn't populated. The bulk of the work is performed in the
chip's power code, as the implementation will need to be
chipset-specific.
BRANCH=None
BUG=b:209613841
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: If7f1467a314ef9ab299bb8ad1a153a1e82bfe758
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3430300
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.powerseq')
-rw-r--r-- | zephyr/Kconfig.powerseq | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zephyr/Kconfig.powerseq b/zephyr/Kconfig.powerseq index 305fdf74b9..fc3684d6cb 100644 --- a/zephyr/Kconfig.powerseq +++ b/zephyr/Kconfig.powerseq @@ -50,6 +50,15 @@ config PLATFORM_EC_POWERSEQ_PP5000_CONTROL Guard access to the PP5000 GPIO using mutex locks, allowing the rail to be changed in a task-safe manner. +config PLATFORM_EC_POWERSEQ_FAKE_CONTROL + bool "Console command: powerfake" + depends on PLATFORM_EC_SYSTEM_UNLOCKED + help + Enable fake control of the power sequencing on the platform. This + will require some SoC-specific implementation and allows a fake boot + without an SoC present. This command should not be used on platforms + with an SoC present. + menuconfig PLATFORM_EC_POWERSEQ_AMD bool "AMD power sequencing" depends on AP_X86_AMD |