summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/nyan/chromeos.c4
-rw-r--r--src/mainboard/google/nyan_big/chromeos.c4
-rw-r--r--src/mainboard/google/nyan_blaze/chromeos.c4
3 files changed, 0 insertions, 12 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));
diff --git a/src/mainboard/google/nyan_big/chromeos.c b/src/mainboard/google/nyan_big/chromeos.c
index 298fd6aea3..054abf6edb 100644
--- a/src/mainboard/google/nyan_big/chromeos.c
+++ b/src/mainboard/google/nyan_big/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));
diff --git a/src/mainboard/google/nyan_blaze/chromeos.c b/src/mainboard/google/nyan_blaze/chromeos.c
index 16f0c9878e..da017eaed1 100644
--- a/src/mainboard/google/nyan_blaze/chromeos.c
+++ b/src/mainboard/google/nyan_blaze/chromeos.c
@@ -88,10 +88,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));