summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-12 15:32:46 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-12 15:32:46 +0000
commit5028eaa0252c6ce8707dcf473df493d9681b9359 (patch)
tree310d4d8092d0ccb5d208deb3285766f8e2917f7c /firmware
parent0e0baaa08ec02c29dbb05d6470d0ad0a884cc0eb (diff)
downloadrockbox-5028eaa0252c6ce8707dcf473df493d9681b9359.tar.gz
rockbox-5028eaa0252c6ce8707dcf473df493d9681b9359.tar.bz2
rockbox-5028eaa0252c6ce8707dcf473df493d9681b9359.zip
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/usb-drv-as3525v2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c
index d87ccb5f87..63f6e83dff 100644
--- a/firmware/target/arm/as3525/usb-drv-as3525v2.c
+++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c
@@ -148,8 +148,7 @@ static void as3525v2_connect(void)
GUSBCFG |= GUSBCFG_force_device_mode;
usb_delay();
/* 11) Do something that is probably CCU related but undocumented*/
- CCU_USB &= ~0x1000;
- usb_delay();
+ CCU_USB |= 0x1000;
CCU_USB &= ~0x300000;
usb_delay();
/* 12) reset usb core parameters (dev addr, speed, ...) */