summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-07-30 13:46:38 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-07-30 13:46:38 +0000
commit6b807b2d248baee699eb2b5e43344cd278a7f01d (patch)
treeaf42015fea9f5965c948b268802424c0129173e7 /firmware/export
parent43b9cda13c5e6275de0921dc457af9760c95a53b (diff)
downloadrockbox-6b807b2d248baee699eb2b5e43344cd278a7f01d.zip
rockbox-6b807b2d248baee699eb2b5e43344cd278a7f01d.tar.gz
rockbox-6b807b2d248baee699eb2b5e43344cd278a7f01d.tar.bz2
rockbox-6b807b2d248baee699eb2b5e43344cd278a7f01d.tar.xz
Fixed MAC initialization problem with mpa codec and removed workaround
for that bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7260 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index 39663f1..712e87d 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -125,6 +125,10 @@ enum {
: /* %0 */ "d"(mask), \
/* %1 */ "a"(address))
+static inline void mcf5249_init_mac(void) {
+ asm volatile ("move.l #0x20, %macsr;"); /* frac, truncate, no saturation */
+}
+
#endif
#ifndef SIMULATOR