From d1b95f89fea980ed55a777f2414896a59dd88eb0 Mon Sep 17 00:00:00 2001 From: jethead71 Date: Sun, 25 Feb 2007 22:59:39 +0000 Subject: [PATCH] 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 --- firmware/target/coldfire/system-coldfire.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firmware/target/coldfire/system-coldfire.c b/firmware/target/coldfire/system-coldfire.c index 4094f3875..c3b2631cb 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; -- 2.11.4.GIT