mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 07:54:54 +08:00
972a6c5d56
Using below configs, the compile will have error: ERROR: "ehci_init_driver" undefined! .config: CONFIG_USB_CHIPIDEA=m CONFIG_USB_CHIPIDEA_HOST=y CONFIG_USB_CHIPIDEA_DEBUG=y The reason is chipidea host uses symbol from ehci, but ehci is not compiled. Let the chipidea host depend on ehci even it is built as module. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
35 lines
954 B
Plaintext
35 lines
954 B
Plaintext
config USB_CHIPIDEA
|
|
tristate "ChipIdea Highspeed Dual Role Controller"
|
|
depends on USB || USB_GADGET
|
|
help
|
|
Say Y here if your system has a dual role high speed USB
|
|
controller based on ChipIdea silicon IP. Currently, only the
|
|
peripheral mode is supported.
|
|
|
|
When compiled dynamically, the module will be called ci-hdrc.ko.
|
|
|
|
if USB_CHIPIDEA
|
|
|
|
config USB_CHIPIDEA_UDC
|
|
bool "ChipIdea device controller"
|
|
depends on USB_GADGET=y || (USB_CHIPIDEA=m && USB_GADGET=m)
|
|
help
|
|
Say Y here to enable device controller functionality of the
|
|
ChipIdea driver.
|
|
|
|
config USB_CHIPIDEA_HOST
|
|
bool "ChipIdea host controller"
|
|
depends on USB=y
|
|
depends on USB_EHCI_HCD=y || (USB_CHIPIDEA=m && USB_EHCI_HCD=m)
|
|
select USB_EHCI_ROOT_HUB_TT
|
|
help
|
|
Say Y here to enable host controller functionality of the
|
|
ChipIdea driver.
|
|
|
|
config USB_CHIPIDEA_DEBUG
|
|
bool "ChipIdea driver debug"
|
|
help
|
|
Say Y here to enable debugging output of the ChipIdea driver.
|
|
|
|
endif
|