mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
usb-s3c6400: merge the 2 drivers
Player-specific code remaining: usb_drv_(init,exit)
The iPods lack a MMU, so:
- physical, virtual, and uncached addresses are identical
- since we can't access uncached memory we discard caches when receiving data
Still not quite reliable on nano2g
Change-Id: Iebb79df64818b9ae3b68eccb8be8975ebd6c21ea
This commit is contained in:
parent
c1a71ab9ae
commit
c9c1349773
4 changed files with 185 additions and 398 deletions
|
|
@ -239,7 +239,7 @@
|
|||
#define CONFIG_USBOTG USBOTG_S3C6400X
|
||||
#define USB_VENDOR_ID 0x05AC
|
||||
#define USB_PRODUCT_ID 0x1261
|
||||
#define USB_NUM_ENDPOINTS 5
|
||||
#define USB_NUM_ENDPOINTS 6
|
||||
#define USE_ROCKBOX_USB
|
||||
#define USB_DEVBSS_ATTR __attribute__((aligned(16)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue