mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
FS#10245 by Jack Halpin : Adjust Clocking scheme on Sansa AMS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21088 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
29bbcebee4
commit
ef9aacb2e0
9 changed files with 158 additions and 76 deletions
|
|
@ -70,7 +70,7 @@
|
|||
/* DBOP initialisation, do what OF does */
|
||||
static void ams3525_dbop_init(void)
|
||||
{
|
||||
CGU_DBOP = (1<<3) | (CLK_DIV(AS3525_PCLK_FREQ, AS3525_DBOP_FREQ) - 1);
|
||||
CGU_DBOP = (1<<3) | AS3525_DBOP_DIV;
|
||||
|
||||
GPIOB_AFSEL = 0x08; /* DBOP on pin 3 */
|
||||
GPIOC_AFSEL = 0x0f; /* DBOP on pins 3:0 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue