From 3bea5b5333314bd9f9c5e9c40f218e8df3a92e4b Mon Sep 17 00:00:00 2001 From: Daisuke Nojiri Date: Wed, 5 Sep 2018 17:40:25 -0700 Subject: keyboard: Ignore refresh button at boot Any buttons except esc, left-shift, and down-arrow are considered as 'other key' and can cancel recovery mode entry if it's pressed at boot. On some chromebooks (e.g. Grunt, Nami), the refresh key is not scanned early enough (i.e. before the power button is released). Thus, the refresh key unintentionally cancels recovery mode entry. This change makes the EC ignore the refresh key at boot. This is already done for Grunt using CONFIG_KEYBOARD_IGNORE_REFRESH_BOOT_KEY. Signed-off-by: Daisuke Nojiri BUG=b:114134666 BRANCH=none TEST=Put Akali in recovery mode without holding power button long. Change-Id: I57d7cb8fb320a4960125cd96d4d3ae84687a74df Reviewed-on: https://chromium-review.googlesource.com/1208229 Commit-Ready: Daisuke Nojiri Tested-by: Daisuke Nojiri Reviewed-by: Randall Spangler --- baseboard/grunt/baseboard.h | 1 - 1 file changed, 1 deletion(-) (limited to 'baseboard/grunt') diff --git a/baseboard/grunt/baseboard.h b/baseboard/grunt/baseboard.h index b1ff7c53c2..0a3bce9824 100644 --- a/baseboard/grunt/baseboard.h +++ b/baseboard/grunt/baseboard.h @@ -102,7 +102,6 @@ #define CONFIG_KEYBOARD_COL2_INVERTED #define CONFIG_KEYBOARD_PROTOCOL_8042 #define CONFIG_KEYBOARD_REFRESH_ROW3 -#define CONFIG_KEYBOARD_IGNORE_REFRESH_BOOT_KEY #define CONFIG_KEYBOARD_PWRBTN_ASSERTS_KSI3 #define CONFIG_USB_POWER_DELIVERY -- cgit v1.2.1