summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/pcm-coldfire.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-05 00:04:00 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-05 00:04:00 +0000
commit8876018d25c6a56cce118482c1372bbff344cb23 (patch)
treea66dca10bf92674c655b9862fd366ecc77bba76a /firmware/target/coldfire/pcm-coldfire.c
parentee07215d506def8d3483f4adf6e1d4ae51c10c52 (diff)
downloadrockbox-8876018d25c6a56cce118482c1372bbff344cb23.tar.gz
rockbox-8876018d25c6a56cce118482c1372bbff344cb23.zip
Bring up the M5 port to a working stage: Extended numerous explicit checks for IAUDIO_X5 to also check for IAUDIO_M5, moved code around the target tree, added preliminary background for the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12610 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/pcm-coldfire.c')
-rw-r--r--firmware/target/coldfire/pcm-coldfire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/pcm-coldfire.c b/firmware/target/coldfire/pcm-coldfire.c
index 5c7186e567..8738316aa9 100644
--- a/firmware/target/coldfire/pcm-coldfire.c
+++ b/firmware/target/coldfire/pcm-coldfire.c
@@ -46,7 +46,7 @@ static int peaks[4]; /* p-l, p-r, r-l, r-r */
46 (4 << 2) ) /* 64 bit clocks / word clock */ 46 (4 << 2) ) /* 64 bit clocks / word clock */
47#define IIS_RESET 0x800 47#define IIS_RESET 0x800
48 48
49#ifdef IAUDIO_X5 49#if defined(IAUDIO_X5) || defined(IAUDIO_M5)
50#define SET_IIS_CONFIG(x) IIS1CONFIG = (x); 50#define SET_IIS_CONFIG(x) IIS1CONFIG = (x);
51#define IIS_CONFIG IIS1CONFIG 51#define IIS_CONFIG IIS1CONFIG
52#define PLLCR_SET_AUDIO_BITS_DEFPARM \ 52#define PLLCR_SET_AUDIO_BITS_DEFPARM \