summaryrefslogtreecommitdiffstats
path: root/firmware/export/config-m200v4.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-07-06 13:54:51 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-07-06 13:54:51 +0000
commitc1780af9fcc6b7751b267e4e9577bbb2424a1169 (patch)
tree8644c22091bc7ed6c6ada18c484efed26fb13d84 /firmware/export/config-m200v4.h
parenta63a116086ac8c4d876c89b1bb2566b4d168a75f (diff)
downloadrockbox-c1780af9fcc6b7751b267e4e9577bbb2424a1169.tar.gz
rockbox-c1780af9fcc6b7751b267e4e9577bbb2424a1169.zip
Samsa AMS: start of an USB driver (nothing working atm)
Work based on AMD 5536 linux driver and AMD Geode CS5536 datasheet Rockbox still doesn't reboot on USB insert git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21689 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-m200v4.h')
-rw-r--r--firmware/export/config-m200v4.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/firmware/export/config-m200v4.h b/firmware/export/config-m200v4.h
index 16b704cea4..e23f3eb0e2 100644
--- a/firmware/export/config-m200v4.h
+++ b/firmware/export/config-m200v4.h
@@ -139,6 +139,19 @@
/* Offset ( in the firmware file's header ) to the real data */
#define FIRMWARE_OFFSET_FILE_DATA 8
+#ifndef BOOTLOADER
+
+#define USB_HANDLED_BY_OF
+
+#define CONFIG_USB USBOTG_AS3525
+
+/* enable these for the experimental usb stack */
+#define HAVE_USBSTACK
+#define USB_VENDOR_ID 0x0781
+#define USB_PRODUCT_ID 0x7431
+
+#endif /* BOOTLOADER */
+
/* Software controlled LED */
#define CONFIG_LED LED_VIRTUAL