summaryrefslogtreecommitdiff
path: root/src/mainboard/google/nyan
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/nyan')
-rw-r--r--src/mainboard/google/nyan/chromeos.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mainboard/google/nyan/chromeos.c b/src/mainboard/google/nyan/chromeos.c
index 6377fb2058..c4d98b7e30 100644
--- a/src/mainboard/google/nyan/chromeos.c
+++ b/src/mainboard/google/nyan/chromeos.c
@@ -84,10 +84,6 @@ int get_recovery_mode_switch(void)
{
uint32_t ec_events;
- /* The GPIO is active low. */
- if (!gpio_get_in_value(GPIO(Q7))) // RECMODE_GPIO
- return 1;
-
ec_events = google_chromeec_get_events_b();
return !!(ec_events &
EC_HOST_EVENT_MASK(EC_HOST_EVENT_KEYBOARD_RECOVERY));