summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben.chen2@quanta.corp-partner.google.com <ben.chen2@quanta.corp-partner.google.com>2019-12-31 15:33:46 +0800
committerCommit Bot <commit-bot@chromium.org>2020-08-14 17:05:12 +0000
commit42682918376c6ae2173c9c90fd1d02bdf653238c (patch)
tree24f546b7f7327f67362402bba079e56e111f23e5
parent22a2f5e8d27551365a92de69ab54c4730b303802 (diff)
downloadchrome-ec-42682918376c6ae2173c9c90fd1d02bdf653238c.tar.gz
kindred: modify power button timeout
ensure wake up from MURATA battery takes some seconds, to come back out of its disconnect. Setting CONFIG_POWER_BUTTON_INIT_TIMEOUT to 2 second. BUG=b:146914669 BRANCH=hatch TEST=check power on, plug in AC after battery cutoff Change-Id: I55e1f1957ebbe6800cf01e347e9ed29d57ab1280 Signed-off-by: Ben Chen <ben.chen2@quanta.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1984153 Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2355631 Commit-Queue: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org>
-rw-r--r--board/kindred/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/kindred/board.h b/board/kindred/board.h
index 79156ccf01..861a23d0e3 100644
--- a/board/kindred/board.h
+++ b/board/kindred/board.h
@@ -12,6 +12,8 @@
#include "baseboard.h"
#define CONFIG_POWER_BUTTON
+#undef CONFIG_POWER_BUTTON_INIT_TIMEOUT
+#define CONFIG_POWER_BUTTON_INIT_TIMEOUT 2
#define CONFIG_KEYBOARD_BOARD_CONFIG
#define CONFIG_KEYBOARD_PROTOCOL_8042
#define CONFIG_LED_COMMON