summaryrefslogtreecommitdiff
path: root/firmware/target/arm/usb-target.h
AgeCommit message (Collapse)Author
2007-02-04Fix USB detection on ipods and other portalplayer targets - Rockbox now ↵Dave Chapman
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
2006-12-20Combine USB code for all PortalPlayer targets since they most likely all use ↵Barry Wardell
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