From: Fabio Estevam Date: Thu, 26 Feb 2015 19:58:55 +0000 (-0300) Subject: mx6sabre: Enable User Mass Storage X-Git-Tag: v2015.04-rc4~118^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ad8aae82b20ac6addc9683321d38e3c9fb028d52;p=oweals%2Fu-boot.git mx6sabre: Enable User Mass Storage User Mass Storage is very useful for flashing the on-board eMMC. Add support for it. Signed-off-by: Fabio Estevam Acked-by: Otavio Salvador --- diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h index 4aa8101524..c3f1b35830 100644 --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -276,4 +276,18 @@ #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 */