summaryrefslogtreecommitdiff
path: root/chip/lm4/power_button.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/power_button.c')
-rw-r--r--chip/lm4/power_button.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/chip/lm4/power_button.c b/chip/lm4/power_button.c
index 1c37ec690d..b144d00b62 100644
--- a/chip/lm4/power_button.c
+++ b/chip/lm4/power_button.c
@@ -123,12 +123,6 @@ static void update_other_switches(void)
else
*memmap_switches &= ~EC_SWITCH_DEDICATED_RECOVERY;
- /* Was this a reboot requesting recovery? */
- /* TODO: should use a different flag, not the dedicated recovery
- * switch flag! */
- if (system_get_recovery_required())
- *memmap_switches |= EC_SWITCH_DEDICATED_RECOVERY;
-
#ifdef CONFIG_FAKE_DEV_SWITCH
if (eoption_get_bool(EOPTION_BOOL_FAKE_DEV))
*memmap_switches |= EC_SWITCH_FAKE_DEVELOPER;