summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iaudio
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-08-12 19:49:03 +0000
committerNils Wallménius <nils@rockbox.org>2007-08-12 19:49:03 +0000
commitf28da1a35a6403b153f93f66e3d96e485f89c363 (patch)
tree760d0c286a65042e18e2165ff555be0d40e80558 /firmware/target/coldfire/iaudio
parent90c40b7fea0275e212addf3ae6ac6979f5b4585b (diff)
downloadrockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.tar.gz
rockbox-f28da1a35a6403b153f93f66e3d96e485f89c363.zip
Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iaudio')
-rw-r--r--firmware/target/coldfire/iaudio/m5/power-m5.c21
-rw-r--r--firmware/target/coldfire/iaudio/x5/power-x5.c21
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
70bool charger_inserted(void)
71{
72 return false;
73}
74
75void charger_enable(bool on)
76{
77 (void)on;
78}
79
80void power_off(void)
81{
82}
83
84void 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
70bool charger_inserted(void)
71{
72 return false;
73}
74
75void charger_enable(bool on)
76{
77 (void)on;
78}
79
80void power_off(void)
81{
82}
83
84void ide_power_enable(bool on)
85{
86 (void)on;
87}
88
89#endif /* SIMULATOR */ 68#endif /* SIMULATOR */
90 69
91static bool powered = false; 70static bool powered = false;