mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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
This commit is contained in:
parent
04fef58210
commit
9f228d7662
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue