diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2019-11-27 13:50:52 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-29 03:44:33 +0000 |
commit | c4fabbe69e7133dcee44930e2743d5cef203bad1 (patch) | |
tree | 861148662bf09fc06b2925dc6849915b7fb3c4aa /board/helios/board.h | |
parent | 43c067e3b883f2e2685802700f1d0419b4618ff6 (diff) | |
download | chrome-ec-c4fabbe69e7133dcee44930e2743d5cef203bad1.tar.gz |
helios: Increase power button init timeout
Helios' battery takes several seconds to come back from the cutoff state.
Recorded about ~4 seconds, so bump the init timeout up to 6 seconds for
some margin as well.
BUG=b:141577278
BRANCH=firmware-hatch-12672.B
TEST=Verify DUT will boot up from cutoff a few seconds after AC power
is plugged in.
Change-Id: I26086ef862ae09e8aca5afd67dff2492065428dc
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1940857
Reviewed-by: Shelley Chen <shchen@chromium.org>
Commit-Queue: Shelley Chen <shchen@chromium.org>
Diffstat (limited to 'board/helios/board.h')
-rw-r--r-- | board/helios/board.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/helios/board.h b/board/helios/board.h index 2e998c1801..e1445394c3 100644 --- a/board/helios/board.h +++ b/board/helios/board.h @@ -53,6 +53,13 @@ #define GPIO_USB_C0_TCPC_RST GPIO_USB_C0_TCPC_RST_ODL #define GPIO_USB_C1_TCPC_RST GPIO_USB_C1_TCPC_RST_ODL +/* + * Helios' battery takes several seconds to come back out of its disconnect + * state (~4.2 seconds on the unit I have, so give it a little more for margin). + */ +#undef CONFIG_POWER_BUTTON_INIT_TIMEOUT +#define CONFIG_POWER_BUTTON_INIT_TIMEOUT 6 + /* BC 1.2 */ #define CONFIG_BC12_DETECT_PI3USB9201 |