summaryrefslogtreecommitdiff
path: root/lib/zlib/deflate.c
AgeCommit message (Collapse)AuthorFilesLines
2021-01-17lib: zlib: our putc() takes only one argumentHeinrich Schuchardt1-1/+1
In contrast to the C99 standard [1] our putc() takes only one argument. [1] ISO/IEC 9899:1999 Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2019-12-03crc32: Use the crc.h header for crc functionsSimon Glass1-0/+1
Drop inclusion of crc.h in common.h and use the correct header directly instead. With this we can drop the conflicting definition in fw_env.h and rely on the crc.h header, which is already included. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
2012-09-29lib: zlib: remove the limitation for cannot using 0 as startLei Wen1-3/+1
We often need the requirement that compressing those memory range start from 0, but the default deflate code in zlib prevent us to do this. Considering the special case of uboot, that it could access all memory range, it is reasonable to be able to also take the address space from 0 into compression. Signed-off-by: Lei Wen <leiwen@marvell.com>
2012-09-29lib: zlib: import deflate source file from 1.2.5Lei Wen1-0/+1834
Signed-off-by: Lei Wen <leiwen@marvell.com>