u-boot/lib_generic
Ricardo Ribalda Delgado 35f6a943f7 lib_generic: gunzip: New function zunzip
Separate gunzip in

gunzip: Find the end of the header and call zunzip.
zunzip: Inflate gunzip block without header.

UBI fs blocks can be compresed in lzo, zlib or no-compression. The
current implementation of u-boot supported all the compressions but
there was a bug in the implementation of the zlib blocks.

UBIFS's Zlib blocks do not have header but they were compressed using
gunzip, a function used to decompress gunzip files/sectors with a
header.

This patch adds a new function zunzip that uncompress a zlib block with
no header.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@uam.es>
2009-04-30 23:07:02 +02:00
..
lzma Coding style cleanup, update CHANGELOG 2008-09-13 02:23:05 +02:00
lzo Add LZO decompressor support 2009-03-20 22:39:15 +01:00
addr_map.c Introduce addr_map library 2008-12-15 22:05:36 +01:00
bzlib_crctable.c bzip2: move ifdef handling to Makefile COBJS-$(...) 2009-02-11 23:04:13 +01:00
bzlib_decompress.c bzip2: move ifdef handling to Makefile COBJS-$(...) 2009-02-11 23:04:13 +01:00
bzlib_huffman.c bzip2: move ifdef handling to Makefile COBJS-$(...) 2009-02-11 23:04:13 +01:00
bzlib_private.h * Patches by Xianghua Xiao, 15 Oct 2003: 2003-10-15 23:53:47 +00:00
bzlib_randtable.c bzip2: move ifdef handling to Makefile COBJS-$(...) 2009-02-11 23:04:13 +01:00
bzlib.c bzip2: move ifdef handling to Makefile COBJS-$(...) 2009-02-11 23:04:13 +01:00
crc16.c crc16: move to lib_generic 2008-08-29 12:25:02 +02:00
crc32.c rename include/zlib.h to include/u-boot/zlib.h 2009-04-04 15:37:54 +02:00
ctype.c Initial revision 2000-07-19 14:09:16 +00:00
display_options.c Allow print_size to print in GB 2008-07-09 22:50:20 +02:00
div64.c Move 64bit division from avr32 to generic lib 2007-08-10 10:33:34 +02:00
gunzip.c lib_generic: gunzip: New function zunzip 2009-04-30 23:07:02 +02:00
ldiv.c * Code cleanup: 2003-06-27 21:31:46 +00:00
lmb.c Fix some more print() format errors. 2008-07-11 01:16:00 +02:00
Makefile bzip2: move ifdef handling to Makefile COBJS-$(...) 2009-02-11 23:04:13 +01:00
md5.c Fix build issue with string.h and linux/string.h 2008-06-12 08:51:35 +02:00
rbtree.c Add Red Black Tree support 2008-10-18 21:54:01 +02:00
sha1.c Fix build issue with string.h and linux/string.h 2008-06-12 08:51:35 +02:00
sha256.c add SHA256 support 2008-06-30 22:57:16 +02:00
string.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
strmhz.c Fix strmhz(): avoid printing negative fractions 2008-10-22 08:52:19 +02:00
vsprintf.c Update CHANGELOG, coding style cleanup. 2009-04-05 00:27:57 +02:00
zlib.c rename include/zlib.h to include/u-boot/zlib.h 2009-04-04 15:37:54 +02:00