summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/Makefile
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-09-11 18:24:49 +0800
committerMarek Vasut <marex@denx.de>2013-09-24 17:51:35 +0200
commit9e40493fd8554a157f2458aa2f472d5d30e3558b (patch)
tree07a3f466077879e1579d2b3be4888a3bb3cfe295 /drivers/usb/gadget/Makefile
parent898d686eead1df09970757dfd469b659d5a208be (diff)
downloadu-boot-imx-9e40493fd8554a157f2458aa2f472d5d30e3558b.zip
u-boot-imx-9e40493fd8554a157f2458aa2f472d5d30e3558b.tar.gz
u-boot-imx-9e40493fd8554a157f2458aa2f472d5d30e3558b.tar.bz2
USB: gadget: add atmel usba udc driver
Add atmel usba udc driver support, porting from Linux kernel The original code in Linux Kernel information is as following commit e01ee9f509a927158f670408b41127d4166db1c7 Author: Jingoo Han <jg1.han@samsung.com> Date: Tue Jul 30 17:00:51 2013 +0900 usb: gadget: use dev_get_platdata() Use the wrapper function for retrieving the platform data instead of accessing dev->platform_data directly. Signed-off-by: Bo Shen <voice.shen@atmel.com>
Diffstat (limited to 'drivers/usb/gadget/Makefile')
-rw-r--r--drivers/usb/gadget/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
index 4c2a39a..4d51f59 100644
--- a/drivers/usb/gadget/Makefile
+++ b/drivers/usb/gadget/Makefile
@@ -18,6 +18,7 @@ endif
# new USB gadget layer dependencies
ifdef CONFIG_USB_GADGET
+COBJS-$(CONFIG_USB_GADGET_ATMEL_USBA) += atmel_usba_udc.o
COBJS-$(CONFIG_USB_GADGET_S3C_UDC_OTG) += s3c_udc_otg.o
COBJS-$(CONFIG_USB_GADGET_FOTG210) += fotg210.o
COBJS-$(CONFIG_USBDOWNLOAD_GADGET) += g_dnl.o