summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorTobias Diedrich <ranma+coreboot@tdiedrich.de>2010-06-28 09:46:13 +0000
committerTobias Diedrich <ranma+coreboot@tdiedrich.de>2010-06-28 09:46:13 +0000
commit31cf6d501338964538978f79be9a078deebdafdd (patch)
tree56ce91cccdc09adb33283f216e80c225d2a5a1ee /firmware/export
parentdf238bcaf5aa178cbbe96dae993ef054ddfb982c (diff)
downloadrockbox-31cf6d501338964538978f79be9a078deebdafdd.zip
rockbox-31cf6d501338964538978f79be9a078deebdafdd.tar.gz
rockbox-31cf6d501338964538978f79be9a078deebdafdd.tar.bz2
rockbox-31cf6d501338964538978f79be9a078deebdafdd.tar.xz
Enable HID support, clean up usb-drv-as3525.c a bit, add a workaround for weird Linux behaviour (don't have Windows to test with), we don't need to set up USB_PHY_EPx_INFO (OF doesn't bother either).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27164 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config.h6
-rw-r--r--firmware/export/config/sansac200v2.h1
-rw-r--r--firmware/export/config/sansaclip.h1
-rw-r--r--firmware/export/config/sansae200v2.h1
-rw-r--r--firmware/export/config/sansafuze.h1
-rw-r--r--firmware/export/config/sansam200v4.h1
6 files changed, 9 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index c06e5d1..29d68cd 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -907,7 +907,8 @@ Lyre prototype 1 */
#define USB_HAS_BULK
#elif (CONFIG_USBOTG == USBOTG_ARC) || \
(CONFIG_USBOTG == USBOTG_JZ4740) || \
- (CONFIG_USBOTG == USBOTG_M66591)
+ (CONFIG_USBOTG == USBOTG_M66591) || \
+ (CONFIG_USBOTG == USBOTG_AS3525)
#define USB_HAS_BULK
#define USB_HAS_INTERRUPT
#elif defined(CPU_TCC780X) || defined(CPU_TCC77X)
@@ -917,7 +918,8 @@ Lyre prototype 1 */
//#define USB_HAS_INTERRUPT -- seems to be broken
#endif /* CONFIG_USBOTG */
-#if CONFIG_USBOTG == USBOTG_ARC
+#if (CONFIG_USBOTG == USBOTG_ARC) || \
+ (CONFIG_USBOTG == USBOTG_AS3525)
#define USB_HAS_ISOCHRONOUS
#endif
diff --git a/firmware/export/config/sansac200v2.h b/firmware/export/config/sansac200v2.h
index 99cd0d2..5115e91 100644
--- a/firmware/export/config/sansac200v2.h
+++ b/firmware/export/config/sansac200v2.h
@@ -178,6 +178,7 @@
//#define USB_ENABLE_SERIAL
#define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7452
+#define HAVE_USB_HID_MOUSE
/* Define this if you have adjustable CPU frequency */
#define HAVE_ADJUSTABLE_CPU_FREQ
diff --git a/firmware/export/config/sansaclip.h b/firmware/export/config/sansaclip.h
index ac26d7e..e0f1e2b 100644
--- a/firmware/export/config/sansaclip.h
+++ b/firmware/export/config/sansaclip.h
@@ -172,6 +172,7 @@
#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7433
+#define HAVE_USB_HID_MOUSE
/* Define this if you have adjustable CPU frequency */
#define HAVE_ADJUSTABLE_CPU_FREQ
diff --git a/firmware/export/config/sansae200v2.h b/firmware/export/config/sansae200v2.h
index cdcb3e7..f8a66ee 100644
--- a/firmware/export/config/sansae200v2.h
+++ b/firmware/export/config/sansae200v2.h
@@ -191,6 +191,7 @@
#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7423
+#define HAVE_USB_HID_MOUSE
/* Define this if you have adjustable CPU frequency */
#define HAVE_ADJUSTABLE_CPU_FREQ
diff --git a/firmware/export/config/sansafuze.h b/firmware/export/config/sansafuze.h
index af866d8..7b7cdb0 100644
--- a/firmware/export/config/sansafuze.h
+++ b/firmware/export/config/sansafuze.h
@@ -194,6 +194,7 @@
#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x74c1
+#define HAVE_USB_HID_MOUSE
/* Define this if you have adjustable CPU frequency */
#define HAVE_ADJUSTABLE_CPU_FREQ
diff --git a/firmware/export/config/sansam200v4.h b/firmware/export/config/sansam200v4.h
index 69582bb..c25a904 100644
--- a/firmware/export/config/sansam200v4.h
+++ b/firmware/export/config/sansam200v4.h
@@ -140,6 +140,7 @@
#define USE_ROCKBOX_USB
#define USB_VENDOR_ID 0x0781
#define USB_PRODUCT_ID 0x7431
+#define HAVE_USB_HID_MOUSE
#define CONFIG_LCD LCD_SSD1815