From ed3b1d9c8ce78a6875696f5b6ce42765a75ea36b Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 2 Apr 2021 15:52:31 +0100 Subject: ARM: embestmx6boards: convert mars/riot boards to DM_USB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Convert the marsboard/riotboard to use DM_USB. Signed-off-by: Peter Robinson Cc: "Eric BĂ©nard" Cc: Fabio Estevam Cc: Stefano Babic --- 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 -- cgit v1.2.3