diff options
author | Diana Z <dzigterman@chromium.org> | 2021-04-09 14:49:58 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-10 00:20:49 +0000 |
commit | f236784d7b721728dfea9ecdf3d0a0592aea8f03 (patch) | |
tree | c24520a394fcf655ea3d8f8dab86bbd043108220 /baseboard | |
parent | 4b2f4f2fc57d4ff65eb263bb8dd8169026411e68 (diff) | |
download | chrome-ec-f236784d7b721728dfea9ecdf3d0a0592aea8f03.tar.gz |
Guybrush: Enable CONFIG_CMD_S5_TIMEOUT
While we're in bringup power testing, enable configurable S5 timeout.
BRANCH=None
BUG=b:184941436
TEST=on guybrush, use s5_timeout to specify 0 and drop straight to G3,
50 and see a 50 second transition, and -1 to see the system stay in S5
until the power button is pressed
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I39dfad4ac446f13d782ad4f1090de4fd2e3179a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2819022
Reviewed-by: Rob Barnes <robbarnes@google.com>
Commit-Queue: Rob Barnes <robbarnes@google.com>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/guybrush/baseboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/baseboard/guybrush/baseboard.h b/baseboard/guybrush/baseboard.h index 65469493c7..9a38ea77c1 100644 --- a/baseboard/guybrush/baseboard.h +++ b/baseboard/guybrush/baseboard.h @@ -17,6 +17,7 @@ #define CONFIG_LTO /* Link-Time Optimizations to reduce code size */ #define CONFIG_I2C_DEBUG /* Print i2c traces */ #define CONFIG_KEYBOARD_DEBUG /* Print keyboard debug messages */ +#define CONFIG_CMD_S5_TIMEOUT /* Allow a user-specified timeout to exit S5 */ #undef CONFIG_UART_TX_BUF_SIZE #define CONFIG_UART_TX_BUF_SIZE 4096 |