Commit 320cadd1 authored by Li Jun's avatar Li Jun Committed by Jason Liu

MLK-16273-3 imx8mq: evk: enable usb gadget drivers

Enable dwc3 controller driver and gadget mass storage drivers.
Acked-by: 's avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: 's avatarLi Jun <jun.li@nxp.com>
parent 9331de5d
......@@ -255,6 +255,7 @@
/* I2C Configs */
#define CONFIG_SYS_I2C_SPEED 100000
/* USB configs */
#ifndef CONFIG_SPL_BUILD
#define CONFIG_HAS_FSL_XHCI_USB
......@@ -269,6 +270,23 @@
#define CONFIG_CMD_USB
#define CONFIG_USB_STORAGE
#define CONFIG_CMD_EXT2
#define CONFIG_USB_DWC3
#define CONFIG_USB_DWC3_GADGET
#define CONFIG_USBD_HS
#define CONFIG_USB_GADGET
#define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_USB_GADGET_MASS_STORAGE
#define CONFIG_USB_GADGET_DOWNLOAD
#define CONFIG_USB_GADGET_VBUS_DRAW 2
#define CONFIG_USB_GADGET_DUALSPEED
#define CONFIG_USB_FUNCTION_MASS_STORAGE
#define CONFIG_G_DNL_VENDOR_NUM 0x0525
#define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5
#define CONFIG_G_DNL_MANUFACTURER "FSL"
#endif
#define CONFIG_OF_SYSTEM_SETUP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment