summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-02-25 22:59:39 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-02-25 22:59:39 +0000
commit306aa7552a850f7f42ecf69efd4a3465e19368c9 (patch)
tree99f9b66cb349880a7aca291b56a71851122ff29f
parent7d718a8064177a879423de7a78999a64126c79dc (diff)
downloadrockbox-306aa7552a850f7f42ecf69efd4a3465e19368c9.zip
rockbox-306aa7552a850f7f42ecf69efd4a3465e19368c9.tar.gz
rockbox-306aa7552a850f7f42ecf69efd4a3465e19368c9.tar.bz2
rockbox-306aa7552a850f7f42ecf69efd4a3465e19368c9.tar.xz
Well, it seems that caused problems for others but my magic bug correcting DAPs don't experience trouble after a full update. Revert to setting the macsr in system_init. Watch your ears when using EQ on the 25 Feb 21:43 build...so I hear.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12487 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/coldfire/system-coldfire.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/coldfire/system-coldfire.c b/firmware/target/coldfire/system-coldfire.c
index 4094f38..c3b2631 100644
--- a/firmware/target/coldfire/system-coldfire.c
+++ b/firmware/target/coldfire/system-coldfire.c
@@ -242,6 +242,11 @@ void system_init(void)
"movclr.l %%acc3, %%d0\n\t"
: : : "d0");
+ /* Set EMAC unit to fractional mode with saturation, since that's
+ what'll be the most useful for most things which the main thread
+ will do. */
+ coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE);
+
/* Set INTBASE and SPURVEC */
INTBASE = 64;
SPURVEC = 24;