diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-08-01 00:16:32 +0900 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-08-07 21:55:42 +0200 |
commit | 93cb82477df06ab4f5fdda99a19d3f1b2b7c2eee (patch) | |
tree | 21664c6af02575a5315486f4d40c558798d58389 | |
parent | 6688452a3bf80a1a131047579af8f881dd2e32c3 (diff) | |
download | u-boot-93cb82477df06ab4f5fdda99a19d3f1b2b7c2eee.tar.gz u-boot-93cb82477df06ab4f5fdda99a19d3f1b2b7c2eee.tar.bz2 u-boot-93cb82477df06ab4f5fdda99a19d3f1b2b7c2eee.zip |
usb: add CONFIG_USB_OHCI_HCD in Kconfig
Add this option as a common config for all OHCI controllers. Its
help message was copied from Linux. Also, I moved it below EHCI
to respect the order in Linux's Kconfig.
Add CONFIG_USB_OHCI_HCD=y to axs103_defconfig, which is the only
user of OHCI_GENERIC.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | configs/axs103_defconfig | 1 | ||||
-rw-r--r-- | drivers/usb/host/Kconfig | 35 |
2 files changed, 26 insertions, 10 deletions
diff --git a/configs/axs103_defconfig b/configs/axs103_defconfig index 8977f81c39..4fb26af363 100644 --- a/configs/axs103_defconfig +++ b/configs/axs103_defconfig @@ -25,6 +25,7 @@ CONFIG_ETH_DESIGNWARE=y CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_DM_USB=y +CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_STORAGE=y CONFIG_USE_PRIVATE_LIBGCC=y diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 7f94c1f372..ec5424b2b7 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -24,15 +24,7 @@ config USB_XHCI_DWC3 Say Y or if your system has a Dual Role SuperSpeed USB controller based on the DesignWare USB3 IP Core. -endif - -config USB_OHCI_GENERIC - bool "Support for generic OHCI USB controller" - depends on OF_CONTROL - depends on DM_USB - default n - ---help--- - Enables support for generic OHCI controller. +endif # USB_XHCI_HCD config USB_EHCI_HCD bool "EHCI HCD (USB 2.0) support" @@ -116,4 +108,27 @@ config USB_EHCI_GENERIC ---help--- Enables support for generic EHCI controller. -endif +endif # USB_EHCI_HCD + +config USB_OHCI_HCD + bool "OHCI HCD (USB 1.1) support" + ---help--- + The Open Host Controller Interface (OHCI) is a standard for accessing + USB 1.1 host controller hardware. It does more in hardware than Intel's + UHCI specification. If your USB host controller follows the OHCI spec, + say Y. On most non-x86 systems, and on x86 hardware that's not using a + USB controller from Intel or VIA, this is appropriate. If your host + controller doesn't use PCI, this is probably appropriate. For a PCI + based system where you're not sure, the "lspci -v" entry will list the + right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI. + +if USB_OHCI_HCD + +config USB_OHCI_GENERIC + bool "Support for generic OHCI USB controller" + depends on OF_CONTROL + depends on DM_USB + ---help--- + Enables support for generic OHCI controller. + +endif # USB_OHCI_HCD |