AMS USBv2: use OF settings for undocumented register

still failing

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28061 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-09-12 15:32:46 +00:00
parent 0e0baaa08e
commit 5028eaa025

View file

@ -148,8 +148,7 @@ static void as3525v2_connect(void)
GUSBCFG |= GUSBCFG_force_device_mode; GUSBCFG |= GUSBCFG_force_device_mode;
usb_delay(); usb_delay();
/* 11) Do something that is probably CCU related but undocumented*/ /* 11) Do something that is probably CCU related but undocumented*/
CCU_USB &= ~0x1000; CCU_USB |= 0x1000;
usb_delay();
CCU_USB &= ~0x300000; CCU_USB &= ~0x300000;
usb_delay(); usb_delay();
/* 12) reset usb core parameters (dev addr, speed, ...) */ /* 12) reset usb core parameters (dev addr, speed, ...) */