linux-sunxi.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH] cmd: ums: Enable by default for sunxi
@ 2021-07-05 23:23 Andre Przywara
  2021-07-06 14:26 ` Jagan Teki
  0 siblings, 1 reply; 5+ messages in thread
From: Andre Przywara @ 2021-07-05 23:23 UTC (permalink / raw)
  To: Jagan Teki, Simon Glass
  Cc: Tom Rini, Jernej Skrabec, Samuel Holland, Maxime Ripard, u-boot,
	linux-sunxi

The ums command (presenting a U-Boot block device as a USB mass storage
device) is very useful for accessing eMMC devices via USB-OTG.

At the moment we enable USB fastboot by default for Allwinner devices,
so it makes sense to do the same with USB mass storage, which is
actually more versatile and can be accessed on any USB host easily.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index a9fb4eead29..7b1c96910a8 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1347,6 +1347,7 @@ config CMD_USB_MASS_STORAGE
 	bool "UMS usb mass storage"
 	select USB_FUNCTION_MASS_STORAGE
 	depends on BLK && USB_GADGET
+	default y if ARCH_SUNXI && USB_MUSB_GADGET
 	help
 	  Enables the command "ums" and the USB mass storage support to the
 	  export a block device: U-Boot, the USB device, acts as a simple
-- 
2.17.5


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

end of thread, other threads:[~2021-07-06 19:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-05 23:23 [PATCH] cmd: ums: Enable by default for sunxi Andre Przywara
2021-07-06 14:26 ` Jagan Teki
2021-07-06 15:57   ` Andre Przywara
2021-07-06 16:11     ` Maxime Ripard
2021-07-06 19:23       ` Sean Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).