diff options
author | Yilun Lin <yllin@chromium.org> | 2019-11-08 22:51:28 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-11 07:06:07 +0000 |
commit | b6be04071411efc7d22c9b9d0d3fd44242278a04 (patch) | |
tree | 8170d496eccebe43d0e7042d1fef8f43791bc5ab /baseboard/kukui/baseboard.h | |
parent | a9629611a9f8d3d301363683bc3e7db2fbbf769c (diff) | |
download | chrome-ec-b6be04071411efc7d22c9b9d0d3fd44242278a04.tar.gz |
power/mt8183: Need 1s pwrbtn press to exit off state
To prevent mispressed cases, we decide to increase
the power button press boot time to at least 1s.
TEST=aps; powerbtn $sec; where $sec is between 0~1000 and see it
won't boot
TEST=aps; powerbtn $sec; where $sec > 1000 and see it boot
TEST=aps; ensures the physical power button press is working as
expected.
BUG=b:131856041
BRANCH=kukui
Change-Id: Ie3099ba9639a729cee77b7d444a459fbef72733d
Signed-off-by: Yilun Lin <yllin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1906387
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'baseboard/kukui/baseboard.h')
-rw-r--r-- | baseboard/kukui/baseboard.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/baseboard/kukui/baseboard.h b/baseboard/kukui/baseboard.h index 1c4028ecf4..43e95fe13f 100644 --- a/baseboard/kukui/baseboard.h +++ b/baseboard/kukui/baseboard.h @@ -167,6 +167,10 @@ #define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO_SIZE / 3) #endif /* VARIANT_KUKUI_NO_SENSORS */ +#ifndef VARIANT_KUKUI_TABLET_PWRBTN +#define POWERBTN_BOOT_DELAY 0 +#endif + /* USB PD config */ #define CONFIG_CHARGE_MANAGER #define CONFIG_USB_POWER_DELIVERY |