diff options
author | Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> | 2020-10-07 13:39:06 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-08 04:43:42 +0000 |
commit | 5b62424750cd8b486966d851a5a4d34bfe430d39 (patch) | |
tree | 690aff91d14fb3fdcd747b960869d0706bd30f62 /board/woomax | |
parent | 0d1b9445f6200ead5b87af00ef1bc7f9e6d74f47 (diff) | |
download | chrome-ec-5b62424750cd8b486966d851a5a4d34bfe430d39.tar.gz |
woomax: Increase power button init timeout
Woomax's battery takes serval seconds to come back from the cutoff
state.
Recorded about ~4 seconds, so bump the init timeout up to 5 second for
some margin as well.
BUG=b:169739759
BRANCH=zork
TEST=Verify DUT will boot up from cutoff a few seconds after AC power is
pluging in.
Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: I94f412a3b8955c83c511d4073b121cd701de5168
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2455014
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/woomax')
-rw-r--r-- | board/woomax/board.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/woomax/board.h b/board/woomax/board.h index 1c28c4c90d..729731d78f 100644 --- a/board/woomax/board.h +++ b/board/woomax/board.h @@ -39,6 +39,13 @@ #define CONFIG_KEYBOARD_REFRESH_ROW3 #define CONFIG_KEYBOARD_KEYPAD +/* + * Woomax's battery takes several seconds to come back out of its disconnect + * state (~4 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 5 + /* GPIO mapping from board specific name to EC common name. */ #define CONFIG_BATTERY_PRESENT_GPIO GPIO_EC_BATT_PRES_ODL #define CONFIG_SCI_GPIO GPIO_EC_FCH_SCI_ODL |