diff options
author | Ting Shen <phoenixshen@google.com> | 2023-02-13 15:46:59 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-17 09:29:33 +0000 |
commit | 0e7e8d63df3de2a0815228374fdb9d20c5cde4c6 (patch) | |
tree | 80ef91816dc7f595f45af92d05d55193324968c5 /zephyr/Kconfig.keyboard | |
parent | c0924c4244907fcd4e81eb1ffb83b1638f1f5c57 (diff) | |
download | chrome-ec-0e7e8d63df3de2a0815228374fdb9d20c5cde4c6.tar.gz |
geralt: add CONFIG_BUTTON_TRIGGERED_RECOVERY
BUG=b:268292361
TEST=hold recovery button combination for 10 seconds.
Verify AP reboots into recovery mode, and recovery reason shows
"recovery_reason: 0x02 / 0x00 Recovery button pressed"
BRANCH=none
Change-Id: Ie8e09a3d7ecc525ce6d10836a05c3f55b2e73da6
Signed-off-by: Ting Shen <phoenixshen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4243439
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.keyboard')
-rw-r--r-- | zephyr/Kconfig.keyboard | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/Kconfig.keyboard b/zephyr/Kconfig.keyboard index 31e7024567..3a29bcb6a4 100644 --- a/zephyr/Kconfig.keyboard +++ b/zephyr/Kconfig.keyboard @@ -195,6 +195,13 @@ config PLATFORM_EC_CMD_BUTTON This command simulates button press. The buttons are like volume-up, volume-down, and recovery buttons. +config PLATFORM_EC_BUTTON_TRIGGERED_RECOVERY + bool "Support entering recovery mode using buttons" + help + Support for entering recovery mode using the volume buttons or a + dedicated recovery button. Note that these are *buttons* and not keys + in the keyboard matrix. + config PLATFORM_EC_CONSOLE_CMD_KEYBOARD bool "Console command: ksstate, kbpress, 8042" default y if PLATFORM_EC_KEYBOARD |