summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525/sd-as3525v2.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-02-17 23:27:31 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-02-17 23:27:31 +0000
commit9f228d766225184a2d23cc1447245f2a38c82023 (patch)
tree866239e4d31c458ee64a20ab22950f9b9d131ce2 /firmware/target/arm/as3525/sd-as3525v2.c
parent04fef58210e81e68c836da54fb0338fdb4e6071f (diff)
downloadrockbox-9f228d766225184a2d23cc1447245f2a38c82023.tar.gz
rockbox-9f228d766225184a2d23cc1447245f2a38c82023.tar.bz2
rockbox-9f228d766225184a2d23cc1447245f2a38c82023.zip
as3525v2: use CGU_BASE instead of hardcoded address for unknown register
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24737 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sd-as3525v2.c')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 9370e8fe62..ccd5a7890f 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -522,7 +522,7 @@ int sd_init(void)
(CLK_DIV(AS3525_PLLA_FREQ, AS3525_MS_FREQ) -1) | 1;
/* ?? */
- *(volatile int*)0xC80F003C = (1<<7) |
+ *(volatile int*)(CGU_BASE+0x3C) = (1<<7) |
(CLK_DIV(AS3525_PLLA_FREQ, 24000000) -1) | 1;
wakeup_init(&transfer_completion_signal);