diff mbox series

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

Message ID 20210402145233.918645-6-pbrobinson@gmail.com
State Accepted
Commit ed3b1d9c8ce78a6875696f5b6ce42765a75ea36b
Delegated to: Stefano Babic
Headers show
Series [1/8] ARM: embestmx6boards: Import the marsboard/riotboard. dts files | expand

Commit Message

Peter Robinson April 2, 2021, 2:52 p.m. UTC
Convert the marsboard/riotboard to use DM_USB.

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

Comments

Stefano Babic April 8, 2021, 8:58 p.m. UTC | #1
> Convert the marsboard/riotboard to use DM_USB.
> Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
> Cc: "Eric Bénard" <eric@eukrea.com>
> Cc: Fabio Estevam <fabio.estevam@nxp.com>
> Cc: Stefano Babic <sbabic@denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

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