]> git.sur5r.net Git - u-boot/commitdiff
usb: ehci: Convert CONFIG_USB_EHCI_PCI to Kconfig
authorBin Meng <bmeng.cn@gmail.com>
Wed, 9 Aug 2017 07:21:54 +0000 (00:21 -0700)
committerMarek Vasut <marex@denx.de>
Mon, 21 Aug 2017 09:30:44 +0000 (11:30 +0200)
This converts CONFIG_USB_EHCI_PCI to a Kconfig option, and updates
all boards that use it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
configs/MPC8544DS_defconfig
configs/MPC8572DS_36BIT_defconfig
configs/MPC8572DS_defconfig
drivers/usb/host/Kconfig
include/configs/MPC8544DS.h
include/configs/MPC8572DS.h
include/configs/efi-x86.h
include/configs/x86-common.h
scripts/config_whitelist.txt

index 3e75de7f463b6b435450454e70bb32d1db277f4d..457dfb14c4a6173c892684981db042e8cb451b30 100644 (file)
@@ -28,5 +28,6 @@ CONFIG_RTL8139=y
 CONFIG_SCSI=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
+CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT=y
index 4a3a7e0f7c5525b281f73f67fc3fc6aa684c845b..1c4ab115c684738f8e18eba9ea1ec0e995aa191d 100644 (file)
@@ -27,5 +27,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
+CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT=y
index 9af509ffd82f3ed1f2045586d6053f4b35f9648b..8881713c1c14e056171757fb78606a38030d89b9 100644 (file)
@@ -26,5 +26,6 @@ CONFIG_PHY_GIGE=y
 CONFIG_E1000=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
+CONFIG_USB_EHCI_PCI=y
 CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT=y
index 67ad72b4a2c2e6c2f9d4f39aac9ccdc11fec9758..eb035a476be0b13e65700582731cccf052749b28 100644 (file)
@@ -142,6 +142,12 @@ config USB_EHCI_MSM
          This driver supports combination of Chipidea USB controller
          and Synapsys USB PHY in host mode only.
 
+config USB_EHCI_PCI
+       bool "Support for PCI-based EHCI USB controller"
+       default y if X86
+       help
+         Enables support for the PCI-based EHCI controller.
+
 config USB_EHCI_RCAR_GEN3
        bool "Support for Renesas RCar M3/H3 EHCI USB controller"
        depends on RCAR_GEN3
index e8a6fdf23f97130777762468970957464c9e046a..77c391032678d0b53b53ed0d0e2da6c2489aaea6 100644 (file)
@@ -347,7 +347,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  */
 
 #ifdef CONFIG_USB_EHCI_HCD
-#define CONFIG_USB_EHCI_PCI
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
 #define CONFIG_PCI_EHCI_DEVICE                 0
 #endif
index 1959fa5b01576378884fa87946ab3e38d628a065..218d2126080fe9408497356cfb3d11189fdccbae 100644 (file)
  */
 
 #ifdef CONFIG_USB_EHCI_HCD
-#define CONFIG_USB_EHCI_PCI
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
 #define CONFIG_PCI_EHCI_DEVICE                 0
 #endif
index fa263632a25566da7be46c686025548e2aab6dcc..43935bf4b4f64d069dd5fe06c0e30fdf495cd75c 100644 (file)
@@ -12,7 +12,6 @@
 #undef CONFIG_TPM_TIS_BASE_ADDRESS
 
 #undef CONFIG_SCSI_AHCI
-#undef CONFIG_USB_EHCI_PCI
 
 #define CONFIG_STD_DEVICES_SETTINGS     "stdin=usbkbd,vga,serial\0" \
                                        "stdout=vga,serial\0" \
index 687f8df450d215a45f703ece7bc08818508d2449..49fcbc5b9f31537d7cb4add93910843571f6afd0 100644 (file)
 /*-----------------------------------------------------------------------
  * USB configuration
  */
-#define CONFIG_USB_EHCI_PCI
 #define CONFIG_SYS_USB_EVENT_POLL
 
 #define CONFIG_USB_HOST_ETHER
index 6c628c878ca23412edafc6dd5703456e110f9506..0a751e4a91c3a7eeb6c4829cd69bab220e1168fc 100644 (file)
@@ -5026,7 +5026,6 @@ CONFIG_USB_EHCI_KIRKWOOD
 CONFIG_USB_EHCI_MX5
 CONFIG_USB_EHCI_MXC
 CONFIG_USB_EHCI_MXS
-CONFIG_USB_EHCI_PCI
 CONFIG_USB_EHCI_RMOBILE
 CONFIG_USB_EHCI_SPEAR
 CONFIG_USB_EHCI_SUNXI