![Antoine Tenart](/assets/img/avatar_default.png)
Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock and DMA mask, to support USB2 ChipIdea controllers that don't need specific functions. Tested on the Marvell Berlin SoCs USB controllers. Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Tested-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
674 B
Makefile
25 lines
674 B
Makefile
ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG
|
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
|
|
|
|
ci_hdrc-y := core.o otg.o
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o
|
|
ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o
|
|
ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o
|
|
|
|
# Glue/Bridge layers go here
|
|
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_usb2.o
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_zevio.o
|
|
|
|
# PCI doesn't provide stubs, need to check
|
|
ifneq ($(CONFIG_PCI),)
|
|
obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_pci.o
|
|
endif
|
|
|
|
ifneq ($(CONFIG_OF),)
|
|
obj-$(CONFIG_USB_CHIPIDEA) += usbmisc_imx.o ci_hdrc_imx.o
|
|
endif
|