diff options
author | Adrian Alonso <adrian.alonso@nxp.com> | 2021-03-16 17:15:56 -0500 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2021-06-18 01:43:22 -0700 |
commit | 183d28a10400a481b41734b9a1064e65c6581f16 (patch) | |
tree | 6e9b3830fcfb8f5533df392169efc41ccd8e20ef | |
parent | 07e09d0079e67eccf5197398faee901c80916aa0 (diff) |
MLK-25347-4: include: configs: imx8mn ab2: enable usb configs
Enable usb configs options for imx8mn 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 0f2ac0ce21ef81769a273733d730a98fa090950e)
-rw-r--r-- | include/configs/imx8mn_ab2.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/imx8mn_ab2.h b/include/configs/imx8mn_ab2.h index cf116ff3cc..16027de06f 100644 --- a/include/configs/imx8mn_ab2.h +++ b/include/configs/imx8mn_ab2.h @@ -281,4 +281,21 @@ #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 |