]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cgtqmx6eval: Add USB Mass Storage support
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 17 Sep 2015 18:13:20 +0000 (15:13 -0300)
committerStefano Babic <sbabic@denx.de>
Sun, 20 Sep 2015 09:10:39 +0000 (11:10 +0200)
=> ums 0 mmc 0 (Mounts the micro SD)

=> ums 0 mmc 1 (Mounts the eMMC)

=> ums 0 mmc 2 (Mounts the big SD)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/cgtqmx6eval.h

index c7d54ee2492155af4d327ed133e213dcd9774d05..7158ab0f2b8307f93bdfd423cfa460699e58f5e8 100644 (file)
 #define CONFIG_USB_KEYBOARD
 #define CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP
 
+#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_FUNCTION_MASS_STORAGE
+#define CONFIG_USB_GADGET_DOWNLOAD
+#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      "Congatec"
+
 /* Framebuffer */
 #define CONFIG_VIDEO
 #define CONFIG_VIDEO_IPUV3