]> git.sur5r.net Git - u-boot/commitdiff
mx6sabre: Enable User Mass Storage
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 26 Feb 2015 19:58:55 +0000 (16:58 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 2 Mar 2015 08:57:06 +0000 (09:57 +0100)
User Mass Storage is very useful for flashing the on-board eMMC.

Add support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/mx6sabre_common.h

index 4aa81015240a01501d35da48ebebf834ebe2bcce..c3f1b35830880cb0aad9394d33b0170d8c9e954d 100644 (file)
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
 
+#define CONFIG_CI_UDC
+#define CONFIG_USBD_HS
+#define CONFIG_USB_GADGET_DUALSPEED
+
+#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
+
+#define CONFIG_G_DNL_VENDOR_NUM                0x0525
+#define CONFIG_G_DNL_PRODUCT_NUM       0xa4a5
+#define CONFIG_G_DNL_MANUFACTURER      "FSL"
+
 #endif                         /* __MX6QSABRE_COMMON_CONFIG_H */