summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/ipod6g.h
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2016-07-31 03:40:32 +0200
committerCástor Muñoz <cmvidal@gmail.com>2016-08-02 04:57:50 +0200
commit3c5aa754de9c9e572232b469398a981dccfff127 (patch)
treef67d41afeb7df68b91753bb2d66d3c8ce945207f /firmware/export/config/ipod6g.h
parent5e305d35c94199241f71a994cf6a691aec49688c (diff)
downloadrockbox-3c5aa754de9c9e572232b469398a981dccfff127.tar.gz
rockbox-3c5aa754de9c9e572232b469398a981dccfff127.tar.bz2
rockbox-3c5aa754de9c9e572232b469398a981dccfff127.zip
iPod Classic: use the new USB DesignWare driver
Change-Id: I36aabb5cb9cfe2d8c4f8fbcea944efec58ef9671
Diffstat (limited to 'firmware/export/config/ipod6g.h')
-rw-r--r--firmware/export/config/ipod6g.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/export/config/ipod6g.h b/firmware/export/config/ipod6g.h
index cb8100bb55..01934a0cc2 100644
--- a/firmware/export/config/ipod6g.h
+++ b/firmware/export/config/ipod6g.h
@@ -238,12 +238,15 @@
#define DEFAULT_BRIGHTNESS_SETTING 0x20
/* USB defines */
+#define CONFIG_USBOTG USBOTG_DESIGNWARE
+#define USB_DW_CLOCK 0
+#define USB_DW_TURNAROUND 5
+/* logf() over USB serial (http://www.rockbox.org/wiki/PortalPlayerUsb) */
+//#define USB_ENABLE_SERIAL
#define HAVE_USBSTACK
#define HAVE_USB_HID_MOUSE
-#define CONFIG_USBOTG USBOTG_S3C6400X
#define USB_VENDOR_ID 0x05AC
#define USB_PRODUCT_ID 0x1261
-#define USB_NUM_ENDPOINTS 6
#define USB_DEVBSS_ATTR __attribute__((aligned(32)))
#define USB_READ_BUFFER_SIZE (1024*24)