[PATCH 17/18] usb: Add correct depends for CMD_USB_MASS_STORAGE

Tom Rini trini at konsulko.com
Sat May 22 14:47:16 CEST 2021


We cannot build this without USB_GADGET_DOWNLOAD support enabled, add
the appropriate depends line.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index f962bb714117..f0edfe19b7c9 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1345,6 +1345,7 @@ config CMD_ROCKUSB
 
 config CMD_USB_MASS_STORAGE
 	bool "UMS usb mass storage"
+	depends on USB_GADGET_DOWNLOAD
 	select USB_FUNCTION_MASS_STORAGE
 	help
 	  USB mass storage support
-- 
2.17.1



More information about the U-Boot mailing list