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:
Rafaël Carré 2012-04-28 15:49:31 -04:00
parent c1a71ab9ae
commit c9c1349773
4 changed files with 185 additions and 398 deletions

View file

@ -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)))