forked from len0rd/rockbox
as3525v2-usb: definitely switch to this clock handling, it is the good one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27033 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7ef8b0ec4b
commit
4ed8306121
1 changed files with 0 additions and 4 deletions
|
@ -89,13 +89,9 @@ static void as3525v2_connect(void)
|
||||||
usb_delay();
|
usb_delay();
|
||||||
/* 2) enable usb phy clock */
|
/* 2) enable usb phy clock */
|
||||||
/* PHY clock */
|
/* PHY clock */
|
||||||
#if 1
|
|
||||||
CGU_USB = 1<<5 /* enable */
|
CGU_USB = 1<<5 /* enable */
|
||||||
| (CLK_DIV(AS3525_PLLA_FREQ, 60000000)) << 2
|
| (CLK_DIV(AS3525_PLLA_FREQ, 60000000)) << 2
|
||||||
| 1; /* source = PLLA */
|
| 1; /* source = PLLA */
|
||||||
#else
|
|
||||||
CGU_USB = 0x20;
|
|
||||||
#endif
|
|
||||||
usb_delay();
|
usb_delay();
|
||||||
/* 3) clear "stop pclk" */
|
/* 3) clear "stop pclk" */
|
||||||
PCGCCTL &= ~0x1;
|
PCGCCTL &= ~0x1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue