[PATCH 6/8] ARM: embestmx6boards: convert mars/riot boards to DM_USB

Peter Robinson pbrobinson at gmail.com
Fri Apr 2 16:52:31 CEST 2021


Convert the marsboard/riotboard to use DM_USB.

Signed-off-by: Peter Robinson <pbrobinson at gmail.com>
Cc: "Eric Bénard" <eric at eukrea.com>
Cc: Fabio Estevam <fabio.estevam at nxp.com>
Cc: Stefano Babic <sbabic at denx.de>
---
 configs/marsboard_defconfig       | 1 +
 configs/riotboard_defconfig       | 1 +
 include/configs/embestmx6boards.h | 1 -
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/configs/marsboard_defconfig b/configs/marsboard_defconfig
index 63fc60a884..3e7b8ef0f5 100644
--- a/configs/marsboard_defconfig
+++ b/configs/marsboard_defconfig
@@ -47,6 +47,7 @@ CONFIG_MXC_SPI=y
 CONFIG_DM_THERMAL=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
+CONFIG_DM_USB=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_DM_VIDEO=y
diff --git a/configs/riotboard_defconfig b/configs/riotboard_defconfig
index 4f86a08e78..1e5dc39318 100644
--- a/configs/riotboard_defconfig
+++ b/configs/riotboard_defconfig
@@ -59,6 +59,7 @@ CONFIG_MXC_SPI=y
 CONFIG_DM_THERMAL=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
+CONFIG_DM_USB=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_DM_VIDEO=y
diff --git a/include/configs/embestmx6boards.h b/include/configs/embestmx6boards.h
index ff3a849a14..c49d4dc0e4 100644
--- a/include/configs/embestmx6boards.h
+++ b/include/configs/embestmx6boards.h
@@ -29,7 +29,6 @@
 #define CONFIG_SYS_I2C_SPEED		100000
 
 /* USB Configs */
-#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET	/* For OTG port */
 #define CONFIG_MXC_USB_PORTSC	(PORT_PTS_UTMI | PORT_PTS_PTW)
 #define CONFIG_MXC_USB_FLAGS	0
-- 
2.31.1



More information about the U-Boot mailing list