From 4b2f4f2fc57d4ff65eb263bb8dd8169026411e68 Mon Sep 17 00:00:00 2001 From: Diana Z Date: Fri, 9 Apr 2021 11:24:30 -0600 Subject: 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 Change-Id: If2f8cf91ba982822e2e33cb17f84f38c40907d2e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2818526 Commit-Queue: Aseda Aboagye Reviewed-by: Aseda Aboagye --- include/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/config.h') 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 -- cgit v1.2.1