summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-04-09 11:24:30 -0600
committerCommit Bot <commit-bot@chromium.org>2021-04-10 00:20:48 +0000
commit4b2f4f2fc57d4ff65eb263bb8dd8169026411e68 (patch)
tree81ecff59e9010a22b1a9b320a7e36ad87503699d /include/config.h
parent823654dc07ef9cb0ae4fe0da1414fae4fb6f9ce5 (diff)
downloadchrome-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 'include/config.h')
-rw-r--r--include/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 283d8ff7fb..a001e263b3 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1411,6 +1411,7 @@
#undef CONFIG_CMD_RTC
#undef CONFIG_CMD_RTC_ALARM
#define CONFIG_CMD_RW
+#undef CONFIG_CMD_S5_TIMEOUT
#undef CONFIG_CMD_SCRATCHPAD
#undef CONFIG_CMD_SEVEN_SEG_DISPLAY
#define CONFIG_CMD_SHMEM