usb: gadget: udc: add udc-core from linux kernel to u-boot
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 23 Feb 2015 13:09:46 +0000 (18:39 +0530)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:48:08 +0000 (05:48 +0200)
commita139b96a4760f6e2d01072fcacd7de5b6e547389
tree08f6d386e171291278dcf3be11dc965800d49784
parentfc2f15d2f7134c0de2bd0a16310bdd68da78563b
usb: gadget: udc: add udc-core from linux kernel to u-boot

Added udc-core.c from linux kernel 3.19-rc1 (97bf6af1f9) to u-boot.
This will be adapted to work with u-boot in the
following patches.
Adding support for udc will help to seamlessly port dwc3 driver from
linux kernel to u-boot (since dwc3 uses udc-core) and it'll also help
to add support for multiple gadget controllers to be functional at the
same time.
All other gadget drivers can also be adapted to use udc-core.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/usb/gadget/udc/Makefile [new file with mode: 0644]
drivers/usb/gadget/udc/udc-core.c [new file with mode: 0644]