diff options
| author | yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn> | 2017-02-25 06:20:55 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-17 00:16:56 -0400 |
| commit | 2c93e790e8253552227bf9b46a8d49dca3f71b06 (patch) | |
| tree | 961f5458083caf979a495c9de18402c0e8f681b3 /drivers/usb/Kconfig | |
| parent | b5a6a4e5baeff6a20a5c5e8711d8b08658efacbb (diff) | |
usb: add CONFIG_USB_PCI for system have both PCI HW and non-PCI based USB HW
a lot of embeded system SOC (e.g. freescale T2080) have both
PCI and USB modules. But USB module is controlled by registers directly,
it have no relationship with PCI module.
when say N here it will not build PCI related code in USB driver.
Signed-off-by: yuan linyu <Linyu.Yuan@alcatel-sbell.com.cn>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/Kconfig')
| -rw-r--r-- | drivers/usb/Kconfig | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index fbe493d44e81..aba6ebd8dedf 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig | |||
| @@ -35,7 +35,6 @@ config USB_COMMON | |||
| 35 | config USB_ARCH_HAS_HCD | 35 | config USB_ARCH_HAS_HCD |
| 36 | def_bool y | 36 | def_bool y |
| 37 | 37 | ||
| 38 | # ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface. | ||
| 39 | config USB | 38 | config USB |
| 40 | tristate "Support for Host-side USB" | 39 | tristate "Support for Host-side USB" |
| 41 | depends on USB_ARCH_HAS_HCD | 40 | depends on USB_ARCH_HAS_HCD |
| @@ -73,6 +72,17 @@ config USB | |||
| 73 | To compile this driver as a module, choose M here: the | 72 | To compile this driver as a module, choose M here: the |
| 74 | module will be called usbcore. | 73 | module will be called usbcore. |
| 75 | 74 | ||
| 75 | config USB_PCI | ||
| 76 | bool "PCI based USB host interface" | ||
| 77 | depends on PCI | ||
| 78 | default y | ||
| 79 | ---help--- | ||
| 80 | A lot of embeded system SOC (e.g. freescale T2080) have both | ||
| 81 | PCI and USB modules. But USB module is controlled by registers | ||
| 82 | directly, it have no relationship with PCI module. | ||
| 83 | |||
| 84 | When say N here it will not build PCI related code in USB driver. | ||
| 85 | |||
| 76 | if USB | 86 | if USB |
| 77 | 87 | ||
| 78 | source "drivers/usb/core/Kconfig" | 88 | source "drivers/usb/core/Kconfig" |
