From ef572fec523c3064cbec8df3ef7610a2a9b5df54 Mon Sep 17 00:00:00 2001 From: Cástor Muñoz Date: Sun, 31 Jul 2016 03:48:11 +0200 Subject: iPod Nano 2G: use the new USB DesignWare driver Change-Id: I8d1561bf4e239b55617a8d5075457a668e0c312c --- firmware/export/config/ipodnano2g.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'firmware/export/config/ipodnano2g.h') diff --git a/firmware/export/config/ipodnano2g.h b/firmware/export/config/ipodnano2g.h index 8e8f40f56c..aeff6aeda1 100644 --- a/firmware/export/config/ipodnano2g.h +++ b/firmware/export/config/ipodnano2g.h @@ -221,12 +221,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 0x1260 -#define USB_NUM_ENDPOINTS 6 #define USB_DEVBSS_ATTR __attribute__((aligned(16))) /* Define this if you can switch on/off the accessory power supply */ -- cgit v1.2.3