From 60c5d955940500bd5c9ea29ed8814c2977adc266 Mon Sep 17 00:00:00 2001 From: Andrew McRae Date: Fri, 6 May 2022 18:08:55 +1000 Subject: nereid: Set larger timeout for AP start Set a larger timeout for the powerbtn task to wait for the charger to be available before giving up starting the AP. BUG=b:231675142 TEST=zmake build nereid; flash & run BRANCH=none Signed-off-by: Andrew McRae Change-Id: Ie21bccee3a4e0630aeb5615dc26ad7997f395e62 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3631721 Reviewed-by: Peter Marheine --- zephyr/projects/nissa/prj_nereid.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zephyr/projects/nissa/prj_nereid.conf b/zephyr/projects/nissa/prj_nereid.conf index af8f0baa3a..4b0db30556 100644 --- a/zephyr/projects/nissa/prj_nereid.conf +++ b/zephyr/projects/nissa/prj_nereid.conf @@ -8,6 +8,9 @@ CONFIG_CROS_FLASH_IT8XXX2=y CONFIG_CROS_SYSTEM_IT8XXX2=y CONFIG_ESPI_IT8XXX2=y +# Allow more time for the charger to stabilise +CONFIG_PLATFORM_EC_POWER_BUTTON_INIT_TIMEOUT=5 + # RAM savings, since this chip is tight on available RAM. # It's useful to store a lot of logs for the host to request, but the default 4k # is pretty large. -- cgit v1.2.1