From 6b807b2d248baee699eb2b5e43344cd278a7f01d Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sat, 30 Jul 2005 13:46:38 +0000 Subject: 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 --- firmware/export/system.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/export') 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 -- cgit v1.1