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

Signed-off-by: Tom Rini <tr...@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

Reply via email to