mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
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:
parent
2e60587874
commit
7d9cc0e2ce
3 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue