From 358fdbd8185d90e713f705b4100532b57abc7f67 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 9 Oct 2023 10:15:36 -0300 Subject: [PATCH] mx28evk: Add USB Mass Storage support Select the USB options to allow running "ums 0 mmc 0". Signed-off-by: Fabio Estevam Reviewed-by: Marek Vasut --- configs/mx28evk_defconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configs/mx28evk_defconfig b/configs/mx28evk_defconfig index df0cceaea7..4058d08f96 100644 --- a/configs/mx28evk_defconfig +++ b/configs/mx28evk_defconfig @@ -32,6 +32,7 @@ CONFIG_CMD_DM=y CONFIG_CMD_GPIO=y CONFIG_CMD_MMC=y CONFIG_CMD_NAND_TRIMFFS=y +CONFIG_CMD_USB_MASS_STORAGE=y CONFIG_CMD_CACHE=y CONFIG_CMD_DATE=y CONFIG_CMD_EXT4=y @@ -65,3 +66,11 @@ CONFIG_RTC_MXS=y CONFIG_DM_SERIAL=y CONFIG_SPI=y CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_MAX_CONTROLLER_COUNT=2 +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_MANUFACTURER="FSL" +CONFIG_USB_GADGET_VENDOR_NUM=0x0525 +CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 +CONFIG_CI_UDC=y +CONFIG_USB_GADGET_DOWNLOAD=y -- 2.39.5