]> git.sur5r.net Git - u-boot/commit
lib: zlib: remove the limitation for cannot using 0 as start
authorLei Wen <adrian.wenl@gmail.com>
Fri, 28 Sep 2012 04:26:45 +0000 (04:26 +0000)
committerTom Rini <trini@ti.com>
Sat, 29 Sep 2012 14:26:08 +0000 (07:26 -0700)
commit869c2abbaf98e91e7c9ef71806f6c8eef91206ae
treef0a573d6e5834b743db2f611feb68099fd65e0f9
parent7a32b98dacfa2da6dace2ae1d9eff08932eec61a
lib: zlib: remove the limitation for cannot using 0 as start

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>
lib/zlib/deflate.c