diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/coldfire/iaudio/m5/power-m5.c | 21 | ||||
-rw-r--r-- | firmware/target/coldfire/iaudio/x5/power-x5.c | 21 | ||||
-rw-r--r-- | firmware/target/coldfire/iriver/h100/power-h100.c | 33 |
3 files changed, 0 insertions, 75 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; |
diff --git a/firmware/target/coldfire/iriver/h100/power-h100.c b/firmware/target/coldfire/iriver/h100/power-h100.c index c1841264a2..27000ebf8a 100644 --- a/firmware/target/coldfire/iriver/h100/power-h100.c +++ b/firmware/target/coldfire/iriver/h100/power-h100.c | |||
@@ -127,37 +127,4 @@ void power_off(void) | |||
127 | yield(); | 127 | yield(); |
128 | } | 128 | } |
129 | 129 | ||
130 | #else | ||
131 | |||
132 | bool charger_inserted(void) | ||
133 | { | ||
134 | return false; | ||
135 | } | ||
136 | |||
137 | void charger_enable(bool on) | ||
138 | { | ||
139 | (void)on; | ||
140 | } | ||
141 | |||
142 | void power_off(void) | ||
143 | { | ||
144 | } | ||
145 | |||
146 | void ide_power_enable(bool on) | ||
147 | { | ||
148 | (void)on; | ||
149 | } | ||
150 | |||
151 | #ifdef HAVE_SPDIF_POWER | ||
152 | void spdif_power_enable(bool on) | ||
153 | { | ||
154 | (void)on; | ||
155 | } | ||
156 | |||
157 | bool spdif_powered(void) | ||
158 | { | ||
159 | return false; | ||
160 | } | ||
161 | #endif | ||
162 | |||
163 | #endif /* SIMULATOR */ | 130 | #endif /* SIMULATOR */ |