[U-Boot] [PATCH v2 4/4] armv8/fsl-layerscape: enable dwc3 gadget driver support

Lukasz Majewski l.majewski at samsung.com
Thu Jun 23 16:57:58 CEST 2016


Hi Rajat,

> Enables dwc3 gadget driver support on LS1043QDS platform.
> 
> Signed-off-by: Rajat Srivastava <rajat.srivastava at nxp.com>
> Signed-off-by: Rajesh Bhagat <rajesh.bhagat at nxp.com>
> ---
> Changes in v2:
>  - None
> 
>  include/configs/ls1043aqds.h | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/include/configs/ls1043aqds.h
> b/include/configs/ls1043aqds.h index af1f73d..8c99641 100644
> --- a/include/configs/ls1043aqds.h
> +++ b/include/configs/ls1043aqds.h
> @@ -394,6 +394,21 @@ unsigned long get_board_ddr_clk(void);
>  #define CONFIG_USB_MAX_CONTROLLER_COUNT		3
>  #define CONFIG_SYS_USB_XHCI_MAX_ROOT_PORTS	2
>  #define CONFIG_USB_STORAGE
> +
> +#define CONFIG_USB_DWC3
> +#define CONFIG_USB_DWC3_GADGET
> +
> +#define CONFIG_USB_GADGET
> +#define CONFIG_USB_FUNCTION_MASS_STORAGE
> +#define CONFIG_USB_GADGET_DOWNLOAD
> +#define CONFIG_USB_GADGET_VBUS_DRAW 2
> +#define CONFIG_G_DNL_MANUFACTURER "NXP Semiconductor"
> +#define CONFIG_G_DNL_VENDOR_NUM 0x0471
> +#define CONFIG_G_DNL_PRODUCT_NUM 0x1234
> +#define CONFIG_USB_GADGET_DUALSPEED
> +
> +/* USB Gadget ums command */
> +#define CONFIG_CMD_USB_MASS_STORAGE
>  #endif
>  
>  /*

Reviewed-by: Lukasz Majewski <l.majewski at samsung.com>

-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group


More information about the U-Boot mailing list