diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-10-09 15:27:33 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-15 07:55:52 -0400 |
commit | fade6c38ae4587c6ea66e7c79494448952c268d4 (patch) | |
tree | 15a86bfeeafeb6a1f44a54f3ca5027149c7be7e6 | |
parent | d0cfb868f355876ce11ddd897e06554959b18d7f (diff) | |
download | u-boot-fade6c38ae4587c6ea66e7c79494448952c268d4.zip u-boot-fade6c38ae4587c6ea66e7c79494448952c268d4.tar.gz u-boot-fade6c38ae4587c6ea66e7c79494448952c268d4.tar.bz2 |
Convert CONFIG_USB_EHCI_MXS to Kconfig
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>
-rw-r--r-- | drivers/usb/host/Kconfig | 7 | ||||
-rw-r--r-- | include/configs/mxs.h | 1 | ||||
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 10b0479..be5e4b9 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -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 diff --git a/include/configs/mxs.h b/include/configs/mxs.h index d7d3e9d..ee2d7fa 100644 --- a/include/configs/mxs.h +++ b/include/configs/mxs.h @@ -123,7 +123,6 @@ /* USB */ #ifdef CONFIG_CMD_USB -#define CONFIG_USB_EHCI_MXS #define CONFIG_USB_EHCI_IS_TDI #endif diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 3cf5bd8..e8130ea 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -3014,7 +3014,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 |