summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2016-07-31 03:48:11 +0200
committerCástor Muñoz <cmvidal@gmail.com>2016-08-02 04:57:50 +0200
commitef572fec523c3064cbec8df3ef7610a2a9b5df54 (patch)
tree1b6f979c1cd8fad4f2ed6c6114763d6d7bda8156 /firmware/export/config
parent3c5aa754de9c9e572232b469398a981dccfff127 (diff)
downloadrockbox-ef572fec523c3064cbec8df3ef7610a2a9b5df54.tar.gz
rockbox-ef572fec523c3064cbec8df3ef7610a2a9b5df54.zip
iPod Nano 2G: use the new USB DesignWare driver
Change-Id: I8d1561bf4e239b55617a8d5075457a668e0c312c
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/ipodnano2g.h7
1 files changed, 5 insertions, 2 deletions
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 @@
221#define DEFAULT_BRIGHTNESS_SETTING 0x20 221#define DEFAULT_BRIGHTNESS_SETTING 0x20
222 222
223/* USB defines */ 223/* USB defines */
224#define CONFIG_USBOTG USBOTG_DESIGNWARE
225#define USB_DW_CLOCK 0
226#define USB_DW_TURNAROUND 5
227/* logf() over USB serial (http://www.rockbox.org/wiki/PortalPlayerUsb) */
228//#define USB_ENABLE_SERIAL
224#define HAVE_USBSTACK 229#define HAVE_USBSTACK
225#define HAVE_USB_HID_MOUSE 230#define HAVE_USB_HID_MOUSE
226#define CONFIG_USBOTG USBOTG_S3C6400X
227#define USB_VENDOR_ID 0x05AC 231#define USB_VENDOR_ID 0x05AC
228#define USB_PRODUCT_ID 0x1260 232#define USB_PRODUCT_ID 0x1260
229#define USB_NUM_ENDPOINTS 6
230#define USB_DEVBSS_ATTR __attribute__((aligned(16))) 233#define USB_DEVBSS_ATTR __attribute__((aligned(16)))
231 234
232/* Define this if you can switch on/off the accessory power supply */ 235/* Define this if you can switch on/off the accessory power supply */