summaryrefslogtreecommitdiff
path: root/firmware/target/arm/usb-pp.c (follow)
Commit message (Collapse)AuthorAge
* Firewire detection with reboot into diskmode for all iPods that support it ↵Jens Arnold2007-08-01
| | | | | | (all but Nano and Video). * Hack for compiling iPod G3 removed. * Code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14131 a1c6a512-1295-4272-9138-f99709370657
* build with -Wundef to make sure we have spelled the defines right in #if linesDaniel Stenberg2007-02-17
| | | | | | | and have the proper includes included etc git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12360 a1c6a512-1295-4272-9138-f99709370657
* Move dr_controller_setup() to usb_init_device() and add a call to ↵Dave Chapman2007-02-17
| | | | | | dr_controller_stop() if we detect USB disconnection. This seems to improve reliability when connecting to Mac OS X - Rockbox previously killed its USB stack since the introduction of the new USB detection code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12342 a1c6a512-1295-4272-9138-f99709370657
* No functional changes, just reorganising code:Barry Wardell2007-02-16
| | | | | | | | | | 1) Move ARC OTG USB (used in PP502x) driver code into it's own file, drivers/arcotg_udc.c. Hopefully in the future we will be able to adapt more of the Linux driver and add it to this file. 2) Rename mx31.h to arcotg_udc.h to reflect the file the code came from. It's also a more accurate name for the USB controller. 3) Get rid of one more inl()/outl() in usb-pp.c and use the relevant #define instead. 4) Add dr_controller_stop(). Not used yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12340 a1c6a512-1295-4272-9138-f99709370657
* Fix USB detection on ipods and other portalplayer targets - Rockbox now ↵Dave Chapman2007-02-04
| | | | | | correctly distinguishes between a USB connection to a computer and a connection to a USB AC charger. Based on the experimental USB code in FS #6494 by Barry Wardell. Closes FS #4724. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12198 a1c6a512-1295-4272-9138-f99709370657
* Combine USB code for all PortalPlayer targets since they most likely all use ↵Barry Wardell2006-12-20
the same USB hardware. Add register defines for the USB hardware addresses, based off the Freescale i.MX31 datasheet. Use usb_init() from the iPod code, but modified to use the new register defines rather than oul/inl on the hardware addresses. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11823 a1c6a512-1295-4272-9138-f99709370657