summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/power.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c
index 593fe29eb5..22c2159499 100644
--- a/firmware/drivers/power.c
+++ b/firmware/drivers/power.c
@@ -24,8 +24,6 @@
24#include "system.h" 24#include "system.h"
25#include "power.h" 25#include "power.h"
26#include "logf.h" 26#include "logf.h"
27#include "pcf50605.h"
28#include "pcf50606.h"
29#include "usb.h" 27#include "usb.h"
30 28
31#if CONFIG_CHARGING == CHARGING_CONTROL 29#if CONFIG_CHARGING == CHARGING_CONTROL
@@ -81,7 +79,6 @@ void power_init(void)
81#endif 79#endif
82} 80}
83 81
84
85#if CONFIG_CHARGING 82#if CONFIG_CHARGING
86bool charger_inserted(void) 83bool charger_inserted(void)
87{ 84{
@@ -196,7 +193,6 @@ bool ide_powered(void)
196} 193}
197#endif /* !HAVE_MMC */ 194#endif /* !HAVE_MMC */
198 195
199
200void power_off(void) 196void power_off(void)
201{ 197{
202 set_irq_level(HIGHEST_IRQ_LEVEL); 198 set_irq_level(HIGHEST_IRQ_LEVEL);
@@ -217,27 +213,4 @@ void power_off(void)
217 yield(); 213 yield();
218} 214}
219 215
220#else
221
222void charger_enable(bool on)
223{
224 (void)on;
225}
226
227void power_off(void)
228{
229}
230
231void ide_power_enable(bool on)
232{
233 (void)on;
234}
235
236#ifdef HAVE_SPDIF_POWER
237void spdif_power_enable(bool on)
238{
239 (void)on;
240}
241#endif
242
243#endif /* SIMULATOR */ 216#endif /* SIMULATOR */