[U-Boot] [PATCH 1/4] usb:gadget:composite Composite framework - files from Linux kernel

Lukasz Majewski l.majewski at samsung.com
Mon Apr 16 11:10:35 CEST 2012


Hi Wolfgang,

> Dear Lukasz Majewski,
> 
> In message <1334214931-19480-2-git-send-email-l.majewski at samsung.com>
> you wrote:
> > Two files from Linux kernel source tree have been ported
> >     to u-boot (Linux Kernel v2.6.36):
> 
> BTW - would it not make sense to use more recent code as reference?

Recent composite driver lacks the bind method at struct
usb_gadget_driver. U-boot's gadgets however use this bind (e.g.
ether.c). Also ./include/linux/usb/gadget.h defines bind in this
struct. 

I've choose this version for this backward compatibility reason.

> 
> Best regards,
> 
> Wolfgang Denk
> 



-- 
Best regards,

Lukasz Majewski

Samsung Poland R&D Center
Platform Group


More information about the U-Boot mailing list