summaryrefslogtreecommitdiff
path: root/firmware/target/arm/usb-target.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-01-22 22:05:04 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-01-22 22:05:04 +0000
commitda76a3469437261bd8857c6eddeaafcc601f373e (patch)
tree33e6c461aeb03d28575166c5ed5002aaf8ea9741 /firmware/target/arm/usb-target.h
parent81df953da55e75632b5efbe676f2b348e11b2c4b (diff)
downloadrockbox-da76a3469437261bd8857c6eddeaafcc601f373e.tar.gz
rockbox-da76a3469437261bd8857c6eddeaafcc601f373e.zip
Use bus reset detection for all ARC OTG devices. Remove conflict from LV24020LP driver with some GPIO-by-number macros for PP502x. Start monitoring for USB stack once all core threads and queues are created otherwise queues will likely be registered after USB acks. Putting PP502x system_reboot in IRAM (unmapped, uncached) memory seems to help it work more consistently. Hopefully I got all the PP USB connect handlers in the right spot in irq_handler. If device seems unresponsive to cable, check there first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19819 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/usb-target.h')
-rw-r--r--firmware/target/arm/usb-target.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/firmware/target/arm/usb-target.h b/firmware/target/arm/usb-target.h
index 913ad805ce..8e159617d5 100644
--- a/firmware/target/arm/usb-target.h
+++ b/firmware/target/arm/usb-target.h
@@ -22,12 +22,7 @@
22#define USB_TARGET_H 22#define USB_TARGET_H
23 23
24void usb_init_device(void); 24void usb_init_device(void);
25 25void usb_insert_int(void);
26#ifndef BOOTLOADER 26void firewire_insert_int(void);
27#if defined(SANSA_C200) || defined(SANSA_E200)
28#define USB_STATUS_BY_EVENT /* No USB tick */
29void usb_connect_event(bool inserted);
30#endif
31#endif /* BOOTLOADER */
32 27
33#endif 28#endif