From 4a483bb1bf69a0f0a1bf99aaa9bb47c6f79ab990 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Mon, 8 Jun 2009 00:19:16 +0000 Subject: M:Robe 500: Mostly complete USB driver, supports BULK mode currently and gets about 2 MB/s writes vs 1.1 MB/s on the OF. Mostly tested against Linux, preliminary testing in Windows appears to work. There is currently a bug in the attach process where it only works once per boot that needs to be fixed. There are a few other minor M:Robe 500 changes as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21208 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-mrobe500.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'firmware/export/config-mrobe500.h') diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h index f9e8d9ebf6..619e3fe8e7 100644 --- a/firmware/export/config-mrobe500.h +++ b/firmware/export/config-mrobe500.h @@ -35,6 +35,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/* Define this to add support for ATA DMA */ +//#define HAVE_ATA_DMA + /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP @@ -114,6 +117,19 @@ #define HAVE_TOUCHSCREEN #define HAVE_BUTTON_DATA +/* M66591 register base */ +#define M66591_BASE 0x60000000 + +/* enable these for the usb stack */ +#define CONFIG_USBOTG USBOTG_M66591 +#define USE_ROCKBOX_USB +#define HAVE_USBSTACK +#define USB_STORAGE +/* usb stack and driver settings */ +#define USB_NUM_ENDPOINTS 7 +#define USB_VENDOR_ID 0x07b4 +#define USB_PRODUCT_ID 0x0281 + /* define this if the target has volume keys which can be used in the lists */ #define HAVE_VOLUME_IN_LIST -- cgit v1.2.3