All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] board: tbs2910: Enable USB Mass Storage support
@ 2015-02-26 18:50 Soeren Moch
  2015-03-01 18:06 ` Fabio Estevam
  2015-03-02  9:46 ` Stefano Babic
  0 siblings, 2 replies; 3+ messages in thread
From: Soeren Moch @ 2015-02-26 18:50 UTC (permalink / raw)
  To: u-boot

Add USB Mass Storage support. This is useful for flashing the on-board eMMC.

Signed-off-by: Soeren Moch <smoch@web.de>
---
Cc: Stefano Babic <sbabic@denx.de>
---
 include/configs/tbs2910.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/include/configs/tbs2910.h b/include/configs/tbs2910.h
index c097b98..7089378 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
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] board: tbs2910: Enable USB Mass Storage support
  2015-02-26 18:50 [U-Boot] [PATCH] board: tbs2910: Enable USB Mass Storage support Soeren Moch
@ 2015-03-01 18:06 ` Fabio Estevam
  2015-03-02  9:46 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2015-03-01 18:06 UTC (permalink / raw)
  To: u-boot

On Thu, Feb 26, 2015 at 3:50 PM, Soeren Moch <smoch@web.de> wrote:
> 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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] board: tbs2910: Enable USB Mass Storage support
  2015-02-26 18:50 [U-Boot] [PATCH] board: tbs2910: Enable USB Mass Storage support Soeren Moch
  2015-03-01 18:06 ` Fabio Estevam
@ 2015-03-02  9:46 ` Stefano Babic
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2015-03-02  9:46 UTC (permalink / raw)
  To: u-boot

On 26/02/2015 19:50, Soeren Moch wrote:
> Add USB Mass Storage support. This is useful for flashing the on-board eMMC.
> 
> Signed-off-by: Soeren Moch <smoch@web.de>
> ---
> Cc: Stefano Babic <sbabic@denx.de>
> ---


Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic



-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-02  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 18:50 [U-Boot] [PATCH] board: tbs2910: Enable USB Mass Storage support Soeren Moch
2015-03-01 18:06 ` Fabio Estevam
2015-03-02  9:46 ` Stefano Babic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.