[U-Boot] [PATCH] lib: zlib: update to 1.2.6

Wolfgang Denk wd at denx.de
Thu Mar 8 09:13:24 CET 2012

Dear Lei Wen,

In message <CALZhoSSk3D9UY48ND_6HdZX1N_gP3rq0LP4w1e1M5bp3brzN9Q at 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

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
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

More information about the U-Boot mailing list