summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/Makefile
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2011-10-27 10:36:46 +0200
committerRemy Bohmer <linux@bohmer.net>2011-12-11 14:44:40 +0100
commit38517a7821d531aabe8e14a3806a7913b14a57b2 (patch)
tree405bc0d8c0bf84206d94e4a51776347d5cbb7010 /drivers/usb/gadget/Makefile
parent5f4b4f2fed3ab8590c8c06b78642f8c1467acacf (diff)
downloadu-boot-imx-38517a7821d531aabe8e14a3806a7913b14a57b2.zip
u-boot-imx-38517a7821d531aabe8e14a3806a7913b14a57b2.tar.gz
u-boot-imx-38517a7821d531aabe8e14a3806a7913b14a57b2.tar.bz2
usb:gadget:s5p USB Device Controller (UDC) implementation
This commit provides UDC driver support for Samsung's SoC family of processors. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'drivers/usb/gadget/Makefile')
-rw-r--r--drivers/usb/gadget/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
index 820ca9b..64b091f 100644
--- a/drivers/usb/gadget/Makefile
+++ b/drivers/usb/gadget/Makefile
@@ -26,6 +26,10 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libusb_gadget.o
# new USB gadget layer dependencies
+ifdef CONFIG_USB_GADGET
+COBJS-y += epautoconf.o config.o usbstring.o
+COBJS-$(CONFIG_USB_GADGET_S3C_UDC_OTG) += s3c_udc_otg.o
+endif
ifdef CONFIG_USB_ETHER
COBJS-y += ether.o epautoconf.o config.o usbstring.o
COBJS-$(CONFIG_USB_ETH_RNDIS) += rndis.o