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

Markus Klotzbücher mk at denx.de
Tue Nov 28 22:49:54 CET 2006


Hi Anders,

Anders Larsen <al at alarsen.net> writes:

> On 2006-11-28 21:05:53, Markus Klotzbücher wrote:
>> If we do "waste" a config option on this, wouldn't it make sense to
>> separate loadb and loady completely, so that either can be chosen
>> independently?
>
> 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)

Regards

Markus Klotzbücher




More information about the U-Boot mailing list