mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-22 08:38:15 +01:00
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>
This commit is contained in:
parent
50bb758c1e
commit
c74758ccc0
@ -1685,9 +1685,8 @@ config CMD_ROCKUSB
|
|||||||
|
|
||||||
config CMD_USB_MASS_STORAGE
|
config CMD_USB_MASS_STORAGE
|
||||||
bool "UMS usb mass storage"
|
bool "UMS usb mass storage"
|
||||||
depends on USB_GADGET_DOWNLOAD
|
depends on BLK && USB_GADGET_DOWNLOAD
|
||||||
select USB_FUNCTION_MASS_STORAGE
|
select USB_FUNCTION_MASS_STORAGE
|
||||||
depends on BLK && USB_GADGET
|
|
||||||
help
|
help
|
||||||
Enables the command "ums" and the USB mass storage support to the
|
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
|
export a block device: U-Boot, the USB device, acts as a simple
|
||||||
|
Loading…
x
Reference in New Issue
Block a user