usb: ums: Kconfig: Select USB_FUNCTION_MASS_STORAGE when enabling 'ums' command
authorLukasz Majewski <lukma@denx.de>
Mon, 29 Jan 2018 18:28:02 +0000 (19:28 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 2 Feb 2018 12:13:48 +0000 (07:13 -0500)
The CONFIG_USB_FUNCTION_MASS_STORAGE must be selected when one enables
support for ums command.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
cmd/Kconfig

index 676011dcdc4c258d6eced7869c7176f3264bcd88..051c1b6457a2bfde780ec6a1adcfd6ebb4cb41ad 100644 (file)
@@ -929,6 +929,7 @@ config CMD_ROCKUSB
 
 config CMD_USB_MASS_STORAGE
        bool "UMS usb mass storage"
+       select USB_FUNCTION_MASS_STORAGE
        help
          USB mass storage support