summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-07-22 13:07:56 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-07-22 13:07:56 +0000
commit7d9cc0e2ce94cc0b0d42371cca1abbee552ad629 (patch)
tree979a9b0205b0edf786251ef19cff894d403d9cac /firmware/target/arm/as3525
parent2e6058787445458e8c786fbc802a8adb221050dd (diff)
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
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r--firmware/target/arm/as3525/usb-drv-as3525v2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c
index 2c0ca7011c..1514e765cb 100644
--- a/firmware/target/arm/as3525/usb-drv-as3525v2.c
+++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c
@@ -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;