diff options
author | Diana Z <dzigterman@chromium.org> | 2021-04-09 11:24:30 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-10 00:20:48 +0000 |
commit | 4b2f4f2fc57d4ff65eb263bb8dd8169026411e68 (patch) | |
tree | 81ecff59e9010a22b1a9b320a7e36ad87503699d /zephyr/Kconfig | |
parent | 823654dc07ef9cb0ae4fe0da1414fae4fb6f9ce5 (diff) | |
download | chrome-ec-4b2f4f2fc57d4ff65eb263bb8dd8169026411e68.tar.gz |
Power: Add configurable S5 timeout
Similar to the hibdelay command, allow the time we spend in S5 to be
configurable for the sake of power testing in this state. It may be set
to 0 for an immediate drop, or -1 to stay in S5 forever.
BRANCH=None
BUG=b:184941436
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: If2f8cf91ba982822e2e33cb17f84f38c40907d2e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2818526
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'zephyr/Kconfig')
-rw-r--r-- | zephyr/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig b/zephyr/Kconfig index b0937203ab..0b5f1dc100 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -206,6 +206,13 @@ config PLATFORM_EC_CONSOLE_CMD_MEM md - dump memory values rw - read or write in memory +config PLATFORM_EC_CONSOLE_CMD_S5_TIMEOUT + bool "Console command: s5_timeout" + default n + help + This command allows the user to specify a time to remain in S5 before + dropping to G3, in order to help power testing. + config PLATFORM_EC_CONSOLE_CMD_SHMEM bool "Console command: shmem" default y |