From: Tim Harvey Date: Wed, 8 Apr 2015 19:54:39 +0000 (-0700) Subject: imx: ventana: config: add USB Mass Storage (ums) support X-Git-Tag: v2015.07-rc1~63^2~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9543e9542e0b34725b7a3f93986d5df3314a952b;p=u-boot 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 --- 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