diff options
author | Zhuohao Lee <zhuohao@chromium.org> | 2021-08-24 19:40:30 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-25 07:25:02 +0000 |
commit | 7373dc974cd6b29babaf36895ab763defb9cf820 (patch) | |
tree | 8320d126b4716ad76ac6c262aa1ac926f7749070 /board | |
parent | 32322ec70818df23d9d3af1912d4169473b286dc (diff) | |
download | chrome-ec-7373dc974cd6b29babaf36895ab763defb9cf820.tar.gz |
brask: add recovery button support
There is a dedicated recovery button for the brask.
This patch adds the CONFIG_DEDICATED_RECOVERY_BUTTON and
CONFIG_DEDICATED_RECOVERY_BUTTON_2 to enable it.
Besides, the CONFIG_EMULATED_SYSRQ and CONFIG_MKBP_INPUT_DEVICES
are added to let the EC pass the button state to the AP
BUG=b:191637086
BRANCH=None
TEST=make BOARD=brask
Change-Id: Ic6ea693bbbc0bcd0d502d2636636bc38e080b1e9
Signed-off-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3114500
Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/brask/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/brask/board.h b/board/brask/board.h index 14242db44b..3953fab629 100644 --- a/board/brask/board.h +++ b/board/brask/board.h @@ -74,6 +74,8 @@ #define GPIO_RSMRST_L_PGOOD GPIO_SEQ_EC_RSMRST_ODL #define GPIO_SYS_RESET_L GPIO_SYS_RST_ODL #define GPIO_WP_L GPIO_EC_WP_ODL +#define GPIO_RECOVERY_L GPIO_EC_RECOVERY_BTN_OD +#define GPIO_RECOVERY_L_2 GPIO_GSC_EC_RECOVERY_BTN_OD /* I2C Bus Configuration */ |