[PATCH 4/5] ARM: board: warp: convert to DM_USB

Peter Robinson
2021-04-02T18:05:51Z

Convert Warp to use DM USB.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
---
configs/warp_defconfig | 1 +
include/configs/warp.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/warp_defconfig b/configs/warp_defconfig
index 6efe400dd1..223436c86e 100644
--- a/configs/warp_defconfig
+++ b/configs/warp_defconfig
@@ -45,6 +45,7 @@ CONFIG_PINCTRL=y
CONFIG_PINCTRL_IMX6=y
CONFIG_MXC_UART=y
CONFIG_USB=y
+CONFIG_DM_USB=y
CONFIG_USB_STORAGE=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_MANUFACTURER="FSL"
diff --git a/include/configs/warp.h b/include/configs/warp.h
index f17eea117f..8cde52f634 100644
--- a/include/configs/warp.h
+++ b/include/configs/warp.h
@@ -45,7 +45,6 @@
#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
#define CONFIG_MXC_USB_FLAGS 0
-#define CONFIG_USB_MAX_CONTROLLER_COUNT 1 /* Only OTG2 port enabled */
#endif

#define CONFIG_USBD_HS
--
2.31.1