summaryrefslogtreecommitdiff
path: root/firmware/target/arm/pcm-pp.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2007-03-03 23:37:17 +0000
committerBarry Wardell <rockbox@barrywardell.net>2007-03-03 23:37:17 +0000
commit169ebdbda7d805e83de06cd013759e6281d5db34 (patch)
treecbc23eea79cceb9611ee825ce3070d12d4b80db8 /firmware/target/arm/pcm-pp.c
parent8b061252c4359aa960ae31c0a4b2ba92f6771017 (diff)
downloadrockbox-169ebdbda7d805e83de06cd013759e6281d5db34.tar.gz
rockbox-169ebdbda7d805e83de06cd013759e6281d5db34.zip
Some more replacing of inl/outl with register #define's (doesn't change end-result binary). Add lots more #define's based on the ipodlinux wiki and some extrapolation.
Also add PortalPlayer SoC version to the HW info debug screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12575 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/pcm-pp.c')
-rw-r--r--firmware/target/arm/pcm-pp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/target/arm/pcm-pp.c b/firmware/target/arm/pcm-pp.c
index 891213468c..d8eecadc9b 100644
--- a/firmware/target/arm/pcm-pp.c
+++ b/firmware/target/arm/pcm-pp.c
@@ -206,9 +206,8 @@ void pcm_play_dma_start(const void *addr, size_t size)
206 pcm_playing = true; 206 pcm_playing = true;
207 207
208#if CONFIG_CPU == PP5020 208#if CONFIG_CPU == PP5020
209 /* setup I2S interrupt for FIQ */ 209 CPU_INT_PRIORITY |= I2S_MASK; /* FIQ priority for I2S */
210 outl(inl(0x6000402c) | I2S_MASK, 0x6000402c); 210 CPU_INT_EN = I2S_MASK; /* Enable I2S interrupt */
211 CPU_INT_EN = I2S_MASK;
212#elif CONFIG_CPU == PP5024 211#elif CONFIG_CPU == PP5024
213#else 212#else
214 /* setup I2S interrupt for FIQ */ 213 /* setup I2S interrupt for FIQ */