diff mbox series

[v4,7/7] configs: am62x_a53_usbdfu: enable USB MASS Storage command

Message ID 20250210112239.2639009-8-s-vadapalli@ti.com
State Accepted
Commit b64241da1db3942da0d87a828c80ff5de6a297e6
Delegated to: Tom Rini
Headers show
Series AM62,AM62-LP,AM62A,AM62P,J722S: USB DFU and UMS | expand

Commit Message

Siddharth Vadapalli Feb. 10, 2025, 11:22 a.m. UTC
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>
---

This patch has been newly introduced in this series.

Regards,
Siddharth.

 configs/am62x_a53_usbdfu.config | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/configs/am62x_a53_usbdfu.config b/configs/am62x_a53_usbdfu.config
index 0d3c6df1e7..630845d80b 100644
--- a/configs/am62x_a53_usbdfu.config
+++ b/configs/am62x_a53_usbdfu.config
@@ -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