summaryrefslogtreecommitdiffstats
path: root/lib/uncompress.c
Commit message (Collapse)AuthorAgeFilesLines
* uncompress: implement uncompress_fd_to_bufSascha Hauer2011-12-151-0/+8
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* uncompress: fix uncompress_buf usageSascha Hauer2011-12-081-1/+2
| | | | | | | | uncompress_buf is used each time uncompress is called, so make sure it is initialized correctly so that we do not call free() on an already free pointer. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add generic uncompress functionSascha Hauer2011-11-291-0/+159
uncompress() has the same prototype as the various kernel decompress functions. It automatically detects the compression type and selects the correct uncompress function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>