configs: am62x_a53_usbdfu: enable USB MASS Storage command
authorSiddharth Vadapalli <s-vadapalli@ti.com>
Mon, 10 Feb 2025 11:22:30 +0000 (16:52 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 20 Feb 2025 22:07:25 +0000 (16:07 -0600)
The USB0 instance of USB on AM62 SoC when configured to operate in the
Gadget mode of operation can be used to mount an MMC/SD card on the USB
Host. Hence, enable support for the USB Mass Storage (ums) command.

Since this config fragment corresponds to USB DFU functionality which
configures the USB Controller in Gadget mode of operation, other SoCs
which include this fragment for DFU functionality can make use of the
USB MASS Storage functionality as well.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
configs/am62x_a53_usbdfu.config

index 0d3c6df..630845d 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_SPL_USB_GADGET=y
 CONFIG_SPL_DFU=y
 CONFIG_CMD_DFU=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_SYSCON=y
 CONFIG_SPL_SYSCON=y
 CONFIG_DFU_MMC=y