diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-09-21 11:20:50 +0200 |
---|---|---|
committer | Mattijs Korpershoek <mkorpershoek@baylibre.com> | 2024-10-03 10:01:35 +0200 |
commit | c74758ccc091402b558b9aa7eaf1c50171d2f49f (patch) | |
tree | 62a42b9c1294f95cd8a92cbb4541973100cfdb48 | |
parent | 50bb758c1e3424d9e1925588c9269b24418c2e04 (diff) |
cmd: simplify CONFIG_CMD_USB_MASS_STORAGE dependencies
CONFIG_USB_GADGET_DOWNLOAD depends on CONFIG_USB_GADGET.
It is sufficient to depend on the prior.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20240921092050.9260-1-heinrich.schuchardt@canonical.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
-rw-r--r-- | cmd/Kconfig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 5ef3c8a8748..d50f6396fc7 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1685,9 +1685,8 @@ config CMD_ROCKUSB config CMD_USB_MASS_STORAGE bool "UMS usb mass storage" - depends on USB_GADGET_DOWNLOAD + depends on BLK && USB_GADGET_DOWNLOAD select USB_FUNCTION_MASS_STORAGE - depends on BLK && USB_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 |