]> git.baikalelectronics.ru Git - uboot.git/commitdiff
Convert CONFIG_USB_EHCI_MXS to Kconfig
authorMarek Behún <marek.behun@nic.cz>
Sat, 9 Oct 2021 13:27:33 +0000 (15:27 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 15 Oct 2021 13:42:22 +0000 (09:42 -0400)
This option is only used for
  mx23evk_defconfig
  mx23_olinuxino_defconfig
which are the only i.MX23 boards.

Add depend on ARCH_MX23 and default to y.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
drivers/usb/host/Kconfig
include/configs/mxs.h
scripts/config_whitelist.txt

index 10b0479a8a6a81a581d5286f913d92bb376b9e42..be5e4b994da8e9036e3a6e20704d14579d3ac829 100644 (file)
@@ -175,6 +175,13 @@ config USB_EHCI_MX7
        ---help---
          Enables support for the on-chip EHCI controller on i.MX7 SoCs.
 
+config USB_EHCI_MXS
+       bool "Support for i.MX23 EHCI USB controller"
+       depends on ARCH_MX23
+       default y
+       help
+         Enables support for the on-chip EHCI controller on i.MX23 SoCs.
+
 config USB_EHCI_OMAP
        bool "Support for OMAP3+ on-chip EHCI USB controller"
        depends on ARCH_OMAP2PLUS
index d7d3e9d57f15f3a3c2c6d41e3a713e68d6f93379..ee2d7fa1b772fd8a5154eb4c0af061ea23d2b131 100644 (file)
 
 /* USB */
 #ifdef CONFIG_CMD_USB
-#define CONFIG_USB_EHCI_MXS
 #define CONFIG_USB_EHCI_IS_TDI
 #endif
 
index de592646b293c681deede092a44f57d7869d5ec1..619e7260d4f21f5fafb134332411c6768a9fdd83 100644 (file)
@@ -3015,7 +3015,6 @@ CONFIG_USB_EHCI_EXYNOS
 CONFIG_USB_EHCI_FARADAY
 CONFIG_USB_EHCI_IS_TDI
 CONFIG_USB_EHCI_KIRKWOOD
-CONFIG_USB_EHCI_MXS
 CONFIG_USB_EHCI_TXFIFO_THRESH
 CONFIG_USB_ETH_QMULT
 CONFIG_USB_ETH_SUBSET