Hi Alex, > > - the USB and UDP code want consolidating, with this series there > > would then be two separate implementations of the same protocol > > Yes - this is an issue. > > For USB the fastboot protocol (at least some its logic) is implemented > in drivers/usb/gadget/f_fastboot.c > > I think that some medium agnostic code (like protocol itself) can be > unified. > > I also think that it would be a good idea to have ./drivers/fastboot > directory introduced to move common code there - and leave only USB > related code in f_fastboot.c
Especially that we do have fb_nand.c and fb_mmc.c in ./common. In that way we could move them to ./drivers/fastboot. > > Please as a reference, look on how ./drivers/dfu is organised. Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
pgpnm7RJYNm55.pgp
Description: OpenPGP digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot