1
0
Fork 0
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:
Amaury Pouly 2010-06-21 20:25:50 +00:00
parent 7ef8b0ec4b
commit 4ed8306121

View file

@ -89,13 +89,9 @@ static void as3525v2_connect(void)
usb_delay();
/* 2) enable usb phy clock */
/* PHY clock */
#if 1
CGU_USB = 1<<5 /* enable */
| (CLK_DIV(AS3525_PLLA_FREQ, 60000000)) << 2
| 1; /* source = PLLA */
#else
CGU_USB = 0x20;
#endif
usb_delay();
/* 3) clear "stop pclk" */
PCGCCTL &= ~0x1;