summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2015-04-08 12:54:39 -0700
committerStefano Babic <sbabic@denx.de>2015-04-22 14:39:08 +0200
commit9543e9542e0b34725b7a3f93986d5df3314a952b (patch)
tree4a4db63b9cfaa43718577813a925feeb72ac39aa
parent4717e1395ed3b9c667c518a77f9f8303e210a49d (diff)
downloadtalos-obmc-uboot-9543e9542e0b34725b7a3f93986d5df3314a952b.tar.gz
talos-obmc-uboot-9543e9542e0b34725b7a3f93986d5df3314a952b.zip
imx: ventana: config: add USB Mass Storage (ums) support
Add support for the USB mass storage gadget to enable access to on-board storage. Example: Ventana > ums 0 mmc 0 # provide ums access to the uSD Ventana > ums 0 usb 0 # provide ums access to the first USB device Ventana > ums 0 sata 0 # provide ums access to an mSATA device Signed-off-by: Tim Harvey <tharvey@gateworks.com>
-rw-r--r--include/configs/gw_ventana.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 28c78155e7..3958ba75ac 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -203,6 +203,18 @@
#define CONFIG_NETCONSOLE
#define CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP
+/* USB Mass Storage Gadget */
+#define CONFIG_USB_GADGET
+#define CONFIG_CMD_USB_MASS_STORAGE
+#define CONFIG_USB_GADGET_MASS_STORAGE
+#define CONFIG_USBDOWNLOAD_GADGET
+#define CONFIG_USB_GADGET_VBUS_DRAW 2
+
+/* Netchip IDs */
+#define CONFIG_G_DNL_VENDOR_NUM 0x0525
+#define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5
+#define CONFIG_G_DNL_MANUFACTURER "Gateworks"
+
/* Framebuffer and LCD */
#define CONFIG_VIDEO
#define CONFIG_VIDEO_IPUV3
OpenPOWER on IntegriCloud