diff options
author | Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com> | 2021-03-03 17:35:31 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-04 02:01:26 +0000 |
commit | e295fbdecc415581c7463e6b2bb9c27faf5765b5 (patch) | |
tree | 08c3a2035f37b6a4daee26d2d411dc9e12e191ca /board/shuboz | |
parent | 37a64a4fcf408b9e2dfe8673fb5c6804a89ae812 (diff) | |
download | chrome-ec-e295fbdecc415581c7463e6b2bb9c27faf5765b5.tar.gz |
shuboz/jelboz/jelboz360: Increase power button init timeout
Jelboz's battery takes serval seconds to come back from the cutoff
state.
Recorded about ~4 seconds, so dump the timeout up to 5 second for some
margin as well.
BUG=b:181736787
BRANCH=zork
TEST=Verify DUT will boot up from cutoff a few seconds after AC power is
pluning in.
Signed-off-by: Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: I340a9c0df38428b8990123f6bb0d7777d4224980
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2731174
Reviewed-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com>
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'board/shuboz')
-rw-r--r-- | board/shuboz/board.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/board/shuboz/board.h b/board/shuboz/board.h index bc029b5cd2..7832458f85 100644 --- a/board/shuboz/board.h +++ b/board/shuboz/board.h @@ -42,7 +42,12 @@ #define CONFIG_LID_ANGLE_SENSOR_BASE BASE_ACCEL #define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL - +/* + * Jelboz'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 |