summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-31 18:44:43 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-31 18:44:43 +0000
commitdb9ce6dc7fbd55f293141bececea91fc3d3682f3 (patch)
tree993acdbff52643ad346963536ba7a15e4c066a34
parentc721c69987a48d07322896f243bcd00ddafa41a6 (diff)
downloadrockbox-db9ce6dc7fbd55f293141bececea91fc3d3682f3.tar.gz
rockbox-db9ce6dc7fbd55f293141bececea91fc3d3682f3.tar.bz2
rockbox-db9ce6dc7fbd55f293141bececea91fc3d3682f3.zip
onda 747/777 : move USB_STATUS_BY_EVENT to config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31497 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config/ondavx747.h3
-rw-r--r--firmware/export/config/ondavx777.h2
-rw-r--r--firmware/target/mips/ingenic_jz47xx/onda_vx747/usb-target.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/firmware/export/config/ondavx747.h b/firmware/export/config/ondavx747.h
index 1cd9143965..e01c6ccc46 100644
--- a/firmware/export/config/ondavx747.h
+++ b/firmware/export/config/ondavx747.h
@@ -216,6 +216,9 @@ No access to the NAND yet..
#define CONFIG_USBOTG USBOTG_JZ4740
#define HAVE_USBSTACK
#define USE_ROCKBOX_USB
+/* Connect by events, not by tick polling */
+#define USB_STATUS_BY_EVENT
+
#define USB_VENDOR_ID 0x07C4
#define USB_PRODUCT_ID 0xA4A5
diff --git a/firmware/export/config/ondavx777.h b/firmware/export/config/ondavx777.h
index b6e7546590..b9167e04ae 100644
--- a/firmware/export/config/ondavx777.h
+++ b/firmware/export/config/ondavx777.h
@@ -203,6 +203,8 @@ No access to the NAND yet..
#define CONFIG_USBOTG USBOTG_JZ4740
#define HAVE_USBSTACK
#define USE_ROCKBOX_USB
+/* Connect by events, not by tick polling */
+#define USB_STATUS_BY_EVENT
#define USB_VENDOR_ID 0x07C4
#define USB_PRODUCT_ID 0xA4A5
diff --git a/firmware/target/mips/ingenic_jz47xx/onda_vx747/usb-target.h b/firmware/target/mips/ingenic_jz47xx/onda_vx747/usb-target.h
index 392de9d1f0..e69de29bb2 100644
--- a/firmware/target/mips/ingenic_jz47xx/onda_vx747/usb-target.h
+++ b/firmware/target/mips/ingenic_jz47xx/onda_vx747/usb-target.h
@@ -1,2 +0,0 @@
-/* Connect by events, not by tick polling */
-#define USB_STATUS_BY_EVENT