summaryrefslogtreecommitdiffstats
path: root/lib/decompress_inflate.c
Commit message (Collapse)AuthorAgeFilesLines
* decompressors: Use malloc/free wrappersSascha Hauer2016-04-081-8/+11
| | | | | | | | | | The decompressors are used both in a regular image and also for image decompression. Both need different malloc implementations. Using malloc/free directly in the decompressor code easily leads to include file conflicts, so use MALLOC/FREE which can be defined correctly for the two different usecases. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add deflate_decompress functionSascha Hauer2013-08-071-0/+39
| | | | | | Needed to implement decompressors for gzip without headers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* compressed image: add gzip supportJean-Christophe PLAGNIOL-VILLARD2012-08-031-0/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* decompress_inflate.c: fix "no previous prototype for 'gunzip'" warningAntony Pavlov2012-01-021-0/+2
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add kernel gunzip implementationSascha Hauer2011-11-291-0/+183
The kernel uncompression functions have a unified API so use this implementation to get it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>