[U-Boot-Users] [PATCH][RESEND] make y-modem a separate config option

Anders Larsen al at alarsen.net
Wed Nov 29 00:24:34 CET 2006


On 2006-11-28 22:49:54, Markus Klotzbücher wrote:
> Anders Larsen <al at alarsen.net> writes:
> > I fully agree - but since loadb and loady share a fair amount of
> > common code, separating them isn't trivial (without duplicating that
> > code, which should be avoided).
> 
> Are you sure? The only common code I see is the command entry point
> do_load_serial(). Apart from that loady seems it use its own code
> exclusively (mainly common/xyzModem.c and u-boot-orig/common/crc16.c)

Hi,

looking more closely I suddently realised that there are actually _three_
different loaders in that module (loadb, loads/saves and loady) - looks
like a major rework is needed...

Cheers
 Anders




More information about the U-Boot mailing list