diff options
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2021-06-04 18:51:46 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-06-09 00:13:26 +0200 |
commit | 6b8d9c92fc5bebc190a3926be8bd1937ea459b0b (patch) | |
tree | 8f28d8da64905d370587d2137fcf8711bc893e5d | |
parent | ed9720d0550693cd8a9087906cc8264f86f59fd7 (diff) | |
download | u-boot-6b8d9c92fc5bebc190a3926be8bd1937ea459b0b.zip u-boot-6b8d9c92fc5bebc190a3926be8bd1937ea459b0b.tar.gz u-boot-6b8d9c92fc5bebc190a3926be8bd1937ea459b0b.tar.bz2 |
cmd: Add dependency for ums command
Add the missing dependency for the command ums:
- CONFIG_BLK: call of blk_* functions in usb_mass_storage.c
- CONFIG_USB_GADGET: required to select CONFIG_USB_FUNCTION_MASS_STORAGE
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r-- | cmd/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index f962bb7..a9fb4ee 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1346,8 +1346,11 @@ config CMD_ROCKUSB config CMD_USB_MASS_STORAGE bool "UMS usb mass storage" select USB_FUNCTION_MASS_STORAGE + depends on BLK && USB_GADGET help - USB mass storage support + 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 + external hard drive plugged on the host USB port. config CMD_PVBLOCK bool "Xen para-virtualized block device" |