183d290c5STom Rini# SPDX-License-Identifier: GPL-2.0+ 22731b9a8SJean-Christophe PLAGNIOL-VILLARD# 32731b9a8SJean-Christophe PLAGNIOL-VILLARD# (C) Copyright 2000-2007 42731b9a8SJean-Christophe PLAGNIOL-VILLARD# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 52731b9a8SJean-Christophe PLAGNIOL-VILLARD 64f57a90cSMasahiro Yamadaobj-$(CONFIG_USB_GADGET) += epautoconf.o config.o usbstring.o 74f57a90cSMasahiro Yamadaobj-$(CONFIG_USB_ETHER) += epautoconf.o config.o usbstring.o 8a04983d6SPantelis Antoniou 95991703eSStefan Agnerifdef CONFIG_SPL_BUILD 10f811e976SJean-Jacques Hiblotobj-$(CONFIG_SPL_USB_GADGET) += g_dnl.o 116536ca4dSAndrew F. Davisobj-$(CONFIG_SPL_DFU) += f_dfu.o 12a3774c1cSStefan Agnerobj-$(CONFIG_SPL_USB_SDP_SUPPORT) += f_sdp.o 135991703eSStefan Agnerendif 145991703eSStefan Agner 157b2f3906SVitaly Kuzmichev# new USB gadget layer dependencies 1638517a78SLukasz Majewskiifdef CONFIG_USB_GADGET 1762019767SHeiko Schocherobj-$(CONFIG_USB_GADGET_AT91) += at91_udc.o 1844e32c71SMasahiro Yamadaobj-$(CONFIG_USB_GADGET_ATMEL_USBA) += atmel_usba_udc.o 19d00bf781SJiandong Zhengobj-$(CONFIG_USB_GADGET_BCM_UDC_OTG_PHY) += bcm_udc_otg_phy.o 20e30824f4SMarek Vasutobj-$(CONFIG_USB_GADGET_DWC2_OTG) += dwc2_udc_otg.o 21e30824f4SMarek Vasutobj-$(CONFIG_USB_GADGET_DWC2_OTG_PHY) += dwc2_udc_otg_phy.o 2244e32c71SMasahiro Yamadaobj-$(CONFIG_USB_GADGET_FOTG210) += fotg210.o 232fc5dab2SStephen Warrenobj-$(CONFIG_CI_UDC) += ci_udc.o 24*70552e37SNeal Liuobj-$(CONFIG_ASPEED_UDC_GENERIC) += aspeed_udc.o 256ad61022STom Riniifndef CONFIG_SPL_BUILD 26e94793c8SStefan Agnerobj-$(CONFIG_USB_GADGET_DOWNLOAD) += g_dnl.o 275991703eSStefan Agnerobj-$(CONFIG_USB_FUNCTION_THOR) += f_thor.o 28bb4059a5SMarek Vasutobj-$(CONFIG_DFU_OVER_USB) += f_dfu.o 2901acd6abSPaul Kocialkowskiobj-$(CONFIG_USB_FUNCTION_MASS_STORAGE) += f_mass_storage.o 3017da3c0cSPaul Kocialkowskiobj-$(CONFIG_USB_FUNCTION_FASTBOOT) += f_fastboot.o 315661f08aSStefan Agnerobj-$(CONFIG_USB_FUNCTION_SDP) += f_sdp.o 32bf2b72beSEddie Caiobj-$(CONFIG_USB_FUNCTION_ROCKUSB) += f_rockusb.o 3338517a78SLukasz Majewskiendif 345991703eSStefan Agnerendif 357b2f3906SVitaly Kuzmichevifdef CONFIG_USB_ETHER 3644e32c71SMasahiro Yamadaobj-y += ether.o 3744e32c71SMasahiro Yamadaobj-$(CONFIG_USB_ETH_RNDIS) += rndis.o 38f016f8caSMarek Vasutobj-$(CONFIG_CI_UDC) += ci_udc.o 3944e32c71SMasahiro Yamadaobj-$(CONFIG_CPU_PXA25X) += pxa25x_udc.o 407b2f3906SVitaly Kuzmichevelse 4123cd1385SRemy Bohmer# Devices not related to the new gadget layer depend on CONFIG_USB_DEVICE 422731b9a8SJean-Christophe PLAGNIOL-VILLARDifdef CONFIG_USB_DEVICE 4344e32c71SMasahiro Yamadaobj-y += core.o 4444e32c71SMasahiro Yamadaobj-y += ep0.o 4544e32c71SMasahiro Yamadaobj-$(CONFIG_DW_UDC) += designware_udc.o 4644e32c71SMasahiro Yamadaobj-$(CONFIG_CPU_PXA27X) += pxa27x_udc.o 47*70552e37SNeal Liuobj-$(CONFIG_ASPEED_UDC_USBTTY) += aspeed_usbtty.o 482731b9a8SJean-Christophe PLAGNIOL-VILLARDendif 497b2f3906SVitaly Kuzmichevendif 50