diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-11-05 14:26:47 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-11-05 14:26:47 +0000 |
commit | 91bacf363ae4251a87edda4cb1c414153e350d2e (patch) | |
tree | 25f61537279a458f64bda24b1b4b2dd6888ff8cd /firmware/target/arm/wmcodec-pp.c | |
parent | 91ccc01bcf78e6a06dce5f900242397813c1e50e (diff) | |
download | rockbox-91bacf363ae4251a87edda4cb1c414153e350d2e.tar.gz rockbox-91bacf363ae4251a87edda4cb1c414153e350d2e.zip |
Get rid of a couple of inl/outl since we have defines. Also use some other defines in place of magic values.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15470 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/wmcodec-pp.c')
-rw-r--r-- | firmware/target/arm/wmcodec-pp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/wmcodec-pp.c b/firmware/target/arm/wmcodec-pp.c index 3dd00695ae..1f688d135f 100644 --- a/firmware/target/arm/wmcodec-pp.c +++ b/firmware/target/arm/wmcodec-pp.c | |||
@@ -49,15 +49,15 @@ void audiohw_init(void) { | |||
49 | DEV_INIT2 &= ~0x300; | 49 | DEV_INIT2 &= ~0x300; |
50 | 50 | ||
51 | /*mini2?*/ | 51 | /*mini2?*/ |
52 | outl(inl(0x70000010) & ~0x3000000, 0x70000010); | 52 | DEV_INIT1 &=~0x3000000; |
53 | /*mini2?*/ | 53 | /*mini2?*/ |
54 | 54 | ||
55 | /* device reset */ | 55 | /* device reset */ |
56 | DEV_RS |= 0x800; | 56 | DEV_RS |= DEV_I2S; |
57 | DEV_RS &=~0x800; | 57 | DEV_RS &=~DEV_I2S; |
58 | 58 | ||
59 | /* device enable */ | 59 | /* device enable */ |
60 | DEV_EN |= 0x807; | 60 | DEV_EN |= (DEV_I2S | 0x7); |
61 | 61 | ||
62 | /* enable external dev clock clocks */ | 62 | /* enable external dev clock clocks */ |
63 | DEV_EN |= 0x2; | 63 | DEV_EN |= 0x2; |