diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2016-06-29 18:17:19 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-06-30 20:14:01 -0700 |
commit | adac37bf0c99e90ef4767681ba9f1a293cdae518 (patch) | |
tree | dada0ef9b80312f17b5f573eb125260f1d0cf68b /include/keyboard_config.h | |
parent | 1457ea2155f118d2e4127babadcdc417ad966db2 (diff) | |
download | chrome-ec-adac37bf0c99e90ef4767681ba9f1a293cdae518.tar.gz |
keyboard_scan: Support boot key recognition with stuck KSI2
For certain board configurations, KSI2 will be stuck asserted for all
scan columns if the power button is held. We must be aware of this case
in order to correctly handle recovery mode key combinations.
BUG=chrome-os-partner:54602
BRANCH=None
TEST=Manual on gru. Do three-key salute, verify EC detects recovery mode.
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: I03d76e1121107484f79520745858388f6cae096c
Reviewed-on: https://chromium-review.googlesource.com/357590
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include/keyboard_config.h')
-rw-r--r-- | include/keyboard_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/keyboard_config.h b/include/keyboard_config.h index 286b6d7560..6cb1b53a52 100644 --- a/include/keyboard_config.h +++ b/include/keyboard_config.h @@ -59,5 +59,6 @@ #define KEYBOARD_COL_KEY_2 4 #define KEYBOARD_ROW_KEY_2 6 #define KEYBOARD_MASK_KEY_2 KEYBOARD_ROW_TO_MASK(KEYBOARD_ROW_KEY_2) +#define KEYBOARD_MASK_KSI2 KEYBOARD_ROW_TO_MASK(2) #endif /* __CROS_EC_KEYBOARD_CONFIG_H */ |