[U-Boot] [PATCH] mx6sabre: Enable USB Mass Storage
Otavio Salvador
otavio at ossystems.com.br
Tue Feb 24 22:42:32 CET 2015
On Tue, Feb 24, 2015 at 5:33 PM, Fabio Estevam <festevam at gmail.com> wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
>
> USB Mass Storage is very useful for flashing the on-board eMMC.
>
> Add support for it.
>
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
> include/configs/mx6sabre_common.h | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/include/configs/mx6sabre_common.h b/include/configs/mx6sabre_common.h
> index f0f721e..67d74d0 100644
> --- a/include/configs/mx6sabre_common.h
> +++ b/include/configs/mx6sabre_common.h
> @@ -56,6 +56,8 @@
> #define CONFIG_GENERIC_MMC
> #define CONFIG_BOUNCE_BUFFER
> #define CONFIG_CMD_EXT2
> +#define CONFIG_CMD_EXT4
> +#define CONFIG_CMD_EXT4_WRITE
> #define CONFIG_CMD_FAT
> #define CONFIG_DOS_PARTITION
This is not related; please split it in another change.
> @@ -279,4 +281,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 */
> --
> 1.9.1
>
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the U-Boot
mailing list