]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: gadget: allow ci_udc to build with new gadget framework
authorStephen Warren <swarren@nvidia.com>
Mon, 28 Apr 2014 21:42:00 +0000 (15:42 -0600)
committerMarek Vasut <marex@denx.de>
Thu, 1 May 2014 10:44:24 +0000 (12:44 +0200)
commit2fc5dab2ed19b6e15ba0726905b6311793397806
tree94ce0dc57bd9b5a3efec4fadba31fe0ee6575bd0
parenta022c1e13c01d88edd3436c291630d4b8c642787
usb: gadget: allow ci_udc to build with new gadget framework

Allow ci_udc.o to be built when using the new(?) USB gadget framework,
as enabled by CONFIG_USB_GADGET.

Note that this duplicates the Makefile entry for ci_udc.o, since it's
also included inside #ifdef CONFIG_USB_ETHER. I'm not sure what that
define means; perhaps an old style of Ethernet-specific USB gadget
implementation?

I wonder if the line that this patch adds shouldn't be outside all of
the ifdefs, so it stands on its own, similar to how e.g. epautoconf.o
is shared between the two?

Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/usb/gadget/Makefile