[U-Boot] missing gunzip prototype (was: [RFC PATCH] add ability to handle compressed images to imxtract)

Wolfgang Denk wd at denx.de
Fri Dec 4 22:37:22 CET 2009


Dear Wolfgang,

In message <4B19116D.11160.B40573 at w.wegner.astro-kom.de> you wrote:
> 
> The implementation is in lib_generic/gunzip.c, and it is used by 19 other files.
> I could add it to a header but have (at least) two problems with it:
> - I do not know which header would be appropriate (generate a new one like
>   e.g. lib_generic/addr_map.c -> include/addr_map.h?)

If in doubt, add it to common.h; we already have a bunch of other
prototypes there.

> - I can not test all the boards currently using it, as they belong to completely
>   different architectures

Test what you can, then post. Others will test the rest.

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
"Beware of bugs in the above code; I have only proved it correct, not
tried it."                                             - Donald Knuth


More information about the U-Boot mailing list