summaryrefslogtreecommitdiff
path: root/power/qcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'power/qcom.c')
-rw-r--r--power/qcom.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/power/qcom.c b/power/qcom.c
index e2b0ff3fd5..e18e9da165 100644
--- a/power/qcom.c
+++ b/power/qcom.c
@@ -619,13 +619,6 @@ static void power_off(void)
set_system_power(0);
}
- /* Turn off the 5V rail. */
-#ifdef CONFIG_POWER_PP5000_CONTROL
- power_5v_enable(task_get_current(), 0);
-#else /* !defined(CONFIG_POWER_PP5000_CONTROL) */
- gpio_set_level(GPIO_EN_PP5000, 0);
-#endif /* defined(CONFIG_POWER_PP5000_CONTROL) */
-
lid_opened = 0;
}
@@ -661,13 +654,6 @@ static int power_on(void)
{
int ret;
- /* Enable the 5V rail. */
-#ifdef CONFIG_POWER_PP5000_CONTROL
- power_5v_enable(task_get_current(), 1);
-#else /* !defined(CONFIG_POWER_PP5000_CONTROL) */
- gpio_set_level(GPIO_EN_PP5000, 1);
-#endif /* defined(CONFIG_POWER_PP5000_CONTROL) */
-
ret = set_system_power(1);
if (ret != EC_SUCCESS)
return ret;