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

Wolfgang Denk wd at denx.de
Mon Apr 16 15:59:17 CEST 2012


Dear Lukasz Majewski,

In message <20120416111035.3f4cba36 at lmajewski.digital.local> you wrote:
> 
> > 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.

This makes little sense to me.  Instead, the U-Boto gadget driver
shouldbe adapted as well.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Unser Kopf ist rund, damit das Denken die Richtung wechseln kann.
                                                   -- Francis Picabia


More information about the U-Boot mailing list