Dear Lei Wen,

In message <calzhossk3d9uy48nd_6hdzx1n_gp3rq0lp4w1e1m5bp3brz...@mail.gmail.com> 
you wrote:
> 
> > I wonder which benefits we get for this price we are paying?
> 
> The main reason I'd like to introduce this upgrade is for I want to
> add the compressing
> feature for uboot.

This should be make optional code, including any extensions /
additional functions that may be needed for zlib.

Most users will not need this, and they should not suffer (in terms of
increased memory footprint) from such a change.

> And the 1.2.6 has some fix for the deflate, so it
> is maybe a good
> base line for introducing it.

Which exact fix are you referring to?

> How about define a Macro like CONIFG_ENABLE_GZIP_COMPRESSION to compile
> the compression related code only when this flag is on?

This makes sense, but please use standard naming rules.  You will
probably provide a "zip" command, so make all this depend on
"CONFIG_CMD_ZIP" or so.

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: w...@denx.de
It must be remembered that there is nothing more difficult  to  plan,
more  doubtful  of  success,  nor  more dangerous to manage, than the
creation of a new system. For the initiator has the enmity of all who
would profit by the preservation of the old institutions  and  merely
lukewarm defenders in those who would gain by the new ones.
- Machiavelli
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to