blob: 2f099c7df7b55861eb27b2194e570ca6d6d2b301 [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
Li Jun57677be2014-04-23 15:56:44 +08009ci_hdrc-$(CONFIG_USB_OTG_FSM) += otg_fsm.o
Alexander Shishkinbc25a802012-05-11 17:25:45 +030010
Felipe Balbib2006d92012-06-29 17:48:50 +080011# Glue/Bridge layers go here
12
Alexander Shishkin8e229782013-06-24 14:46:36 +030013obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_msm.o
Daniel Tang7b92e1d2014-03-11 13:47:39 +080014obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_zevio.o
Felipe Balbib2006d92012-06-29 17:48:50 +080015
16# PCI doesn't provide stubs, need to check
Alexander Shishkinbc25a802012-05-11 17:25:45 +030017ifneq ($(CONFIG_PCI),)
Alexander Shishkin8e229782013-06-24 14:46:36 +030018 obj-$(CONFIG_USB_CHIPIDEA) += ci_hdrc_pci.o
Alexander Shishkinbc25a802012-05-11 17:25:45 +030019endif
20
Rob Herring8973ba82013-04-19 17:32:15 -050021ifneq ($(CONFIG_OF),)
Peter Chen73de9342013-12-06 16:35:13 +080022 obj-$(CONFIG_USB_CHIPIDEA) += usbmisc_imx.o ci_hdrc_imx.o
Richard Zhao15302802012-07-07 22:56:48 +080023endif