blob: 480bd4d5710ae5dcc8a751680e7b750c46d9f093 [file] [log] [blame]
Richard Zhao388ed482012-09-12 14:58:10 +03001ccflags-$(CONFIG_USB_CHIPIDEA_DEBUG) := -DDEBUG
2
Alexander Shishkinbc25a802012-05-11 17:25:45 +03003obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc.o
4
Peter Chenc10b4f02013-08-14 12:44:06 +03005ci_hdrc-y := core.o otg.o
Alexander Shishkine443b332012-05-11 17:25:46 +03006ci_hdrc-$(CONFIG_USB_CHIPIDEA_UDC) += udc.o
Alexander Shishkineb70e5a2012-05-11 17:25:54 +03007ci_hdrc-$(CONFIG_USB_CHIPIDEA_HOST) += host.o
Alexander Shishkine443b332012-05-11 17:25:46 +03008ci_hdrc-$(CONFIG_USB_CHIPIDEA_DEBUG) += debug.o
Alexander Shishkinbc25a802012-05-11 17:25:45 +03009
Felipe Balbib2006d92012-06-29 17:48:50 +080010# Glue/Bridge layers go here
11
Alexander Shishkin8e229782013-06-24 14:46:36 +030012obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o
Daniel Tang7b92e1d2014-03-11 13:47:39 +080013obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_zevio.o
Felipe Balbib2006d92012-06-29 17:48:50 +080014
15# PCI doesn't provide stubs, need to check
Alexander Shishkinbc25a802012-05-11 17:25:45 +030016ifneq ($(CONFIG_PCI),)
Alexander Shishkin8e229782013-06-24 14:46:36 +030017 obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_pci.o
Alexander Shishkinbc25a802012-05-11 17:25:45 +030018endif
19
Rob Herring8973ba82013-04-19 17:32:15 -050020ifneq ($(CONFIG_OF),)
Peter Chen73de9342013-12-06 16:35:13 +080021 obj-$(CONFIG_USB_CHIPIDEA) += usbmisc_imx.o ci_hdrc_imx.o
Richard Zhao15302802012-07-07 22:56:48 +080022endif