summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorSoeren Moch <smoch@web.de>2015-02-26 19:50:02 +0100
committerStefano Babic <sbabic@denx.de>2015-03-02 09:57:05 +0100
commit6628aa57e1b61e9b1b829667269fd143c64e5ba2 (patch)
tree0dca66a3631fb09730d69ad8e85fb07f1a78b9a9 /include/configs
parent26688b216d6c72e958e389174bc077e4a7cd96d2 (diff)
board: tbs2910: Enable USB Mass Storage support
Add USB Mass Storage support. This is useful for flashing the on-board eMMC. Signed-off-by: Soeren Moch <smoch@web.de> Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/tbs2910.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index c097b98575..7089378c96 100644
--- a/include/configs/tbs2910.h
+++ b/include/configs/tbs2910.h
@@ -165,6 +165,19 @@
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
#define CONFIG_USB_STORAGE
+#define CONFIG_CMD_USB_MASS_STORAGE
+#ifdef CONFIG_CMD_USB_MASS_STORAGE
+#define CONFIG_CI_UDC
+#define CONFIG_USBD_HS
+#define CONFIG_USB_GADGET
+#define CONFIG_USB_GADGET_MASS_STORAGE
+#define CONFIG_USB_GADGET_DUALSPEED
+#define CONFIG_USB_GADGET_VBUS_DRAW 0
+#define CONFIG_USBDOWNLOAD_GADGET
+#define CONFIG_G_DNL_VENDOR_NUM 0x0525
+#define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5
+#define CONFIG_G_DNL_MANUFACTURER "TBS"
+#endif /* CONFIG_CMD_USB_MASS_STORAGE */
#define CONFIG_USB_KEYBOARD
#ifdef CONFIG_USB_KEYBOARD
#define CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE