diff options
author | David Huang <david.huang@quanta.corp-partner.google.com> | 2021-01-20 09:42:20 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-20 05:32:00 +0000 |
commit | 420978182e68d9b0c45357c523603d683cdc0305 (patch) | |
tree | a3a09dd8ce47b85b58b1081f09e9cf7ce2586f11 /baseboard/kukui | |
parent | 77b45ffae65428a26c6616ce3bdf0165da7a0f77 (diff) | |
download | chrome-ec-420978182e68d9b0c45357c523603d683cdc0305.tar.gz |
kukui: extend delay time for getting board id
Extend delay time to 20 ms to make sure get correct board id from adc.
BUG=b:177493758
BRANCH=main
TEST=Check board version correct.
Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com>
Change-Id: I1d45bb4f7ede23698b2cc53ff8a3f22c3ffa2a66
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2638995
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'baseboard/kukui')
-rw-r--r-- | baseboard/kukui/baseboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baseboard/kukui/baseboard.c b/baseboard/kukui/baseboard.c index baf915407a..b53260b187 100644 --- a/baseboard/kukui/baseboard.c +++ b/baseboard/kukui/baseboard.c @@ -109,7 +109,7 @@ int board_get_version(void) gpio_set_level(GPIO_EC_BOARD_ID_EN_L, 0); /* Wait to allow cap charge */ - msleep(10); + msleep(20); mv = adc_read_channel(ADC_BOARD_ID); if (mv == ADC_READ_ERROR) |