diff options
author | Adrian Alonso <adrian.alonso@nxp.com> | 2021-03-15 21:06:44 -0500 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2021-06-18 01:43:21 -0700 |
commit | 07e09d0079e67eccf5197398faee901c80916aa0 (patch) | |
tree | c95c91d6fbf7669fe211e8c33bf33c960dfc9cec | |
parent | 9352e662882870259b8c68118ab870ebf4cd9306 (diff) |
MLK-25347-3: include: configs: imx8mm ab2: enable usb configs
Enable usb configs options for imx8mm audio board 2 targets
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit ef033c71ee133c9d49f10432612a1f48bd565d86)
-rw-r--r-- | include/configs/imx8mm_ab2.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/configs/imx8mm_ab2.h b/include/configs/imx8mm_ab2.h index ed93602591..546aa47408 100644 --- a/include/configs/imx8mm_ab2.h +++ b/include/configs/imx8mm_ab2.h @@ -53,6 +53,7 @@ #define CONFIG_CMD_READ #define CONFIG_SERIAL_TAG +#define CONFIG_FASTBOOT_USB_DEV 0 #define CONFIG_REMAKE_ELF /* ENET Config */ @@ -300,4 +301,18 @@ #define CONFIG_SYS_I2C_SPEED 100000 +/* USB configs */ +#ifndef CONFIG_SPL_BUILD +#define CONFIG_CMD_USB +#define CONFIG_USB_STORAGE +#define CONFIG_USBD_HS +#define CONFIG_CMD_USB_MASS_STORAGE +#define CONFIG_USB_GADGET_MASS_STORAGE +#define CONFIG_USB_FUNCTION_MASS_STORAGE +#endif + +#define CONFIG_USB_GADGET_VBUS_DRAW 2 +#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) +#define CONFIG_USB_MAX_CONTROLLER_COUNT 2 + #endif |