diff options
Diffstat (limited to 'firmware/target/coldfire/iaudio')
-rw-r--r-- | firmware/target/coldfire/iaudio/m5/power-m5.c | 21 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/x5/power-x5.c | 21 |
2 files changed, 0 insertions, 42 deletions
diff --git a/firmware/target/coldfire/iaudio/m5/power-m5.c b/firmware/target/coldfire/iaudio/m5/power-m5.c index f3e7cdd496..d33cbec8be 100644 --- a/firmware/target/coldfire/iaudio/m5/power-m5.c +++ b/firmware/target/coldfire/iaudio/m5/power-m5.c | |||
@@ -65,25 +65,4 @@ void power_off(void) | |||
65 | asm("halt"); | 65 | asm("halt"); |
66 | } | 66 | } |
67 | 67 | ||
68 | #else | ||
69 | |||
70 | bool charger_inserted(void) | ||
71 | { | ||
72 | return false; | ||
73 | } | ||
74 | |||
75 | void charger_enable(bool on) | ||
76 | { | ||
77 | (void)on; | ||
78 | } | ||
79 | |||
80 | void power_off(void) | ||
81 | { | ||
82 | } | ||
83 | |||
84 | void ide_power_enable(bool on) | ||
85 | { | ||
86 | (void)on; | ||
87 | } | ||
88 | |||
89 | #endif /* SIMULATOR */ | 68 | #endif /* SIMULATOR */ |
diff --git a/firmware/target/coldfire/iaudio/x5/power-x5.c b/firmware/target/coldfire/iaudio/x5/power-x5.c index 5c6c388a71..76d612334b 100644 --- a/firmware/target/coldfire/iaudio/x5/power-x5.c +++ b/firmware/target/coldfire/iaudio/x5/power-x5.c | |||
@@ -65,27 +65,6 @@ void power_off(void) | |||
65 | asm("halt"); | 65 | asm("halt"); |
66 | } | 66 | } |
67 | 67 | ||
68 | #else | ||
69 | |||
70 | bool charger_inserted(void) | ||
71 | { | ||
72 | return false; | ||
73 | } | ||
74 | |||
75 | void charger_enable(bool on) | ||
76 | { | ||
77 | (void)on; | ||
78 | } | ||
79 | |||
80 | void power_off(void) | ||
81 | { | ||
82 | } | ||
83 | |||
84 | void ide_power_enable(bool on) | ||
85 | { | ||
86 | (void)on; | ||
87 | } | ||
88 | |||
89 | #endif /* SIMULATOR */ | 68 | #endif /* SIMULATOR */ |
90 | 69 | ||
91 | static bool powered = false; | 70 | static bool powered = false; |