CCU_BASE+0x20 is specific to AMSv2 -> move to as3525v2.h

Rename to simply 'CCU_USB'

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27518 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-07-22 13:07:56 +00:00
parent 2e60587874
commit 7d9cc0e2ce
3 changed files with 4 additions and 3 deletions

View file

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