[PATCH v3 3/5] include/u-boot, lib/zlib: add sources for zlib decompression
trini at konsulko.com
Wed Jul 29 17:27:45 CEST 2020
On Tue, Jul 21, 2020 at 11:22:57AM +0200, Joao Marcos Costa wrote:
> Add zlib (v1.2.11) uncompr() function to U-Boot. SquashFS depends on
> this function to decompress data from a raw disk image. The actual
> support for zlib into SquashFS sources will be added in a follow-up
> Signed-off-by: Joao Marcos Costa <joaomarcos.costa at bootlin.com>
> Changes in v3:
> - No changes since v2.
> Changes in v2:
> - Changed commit title and message, which were wrong and/or misleading
> in v1.
> include/u-boot/zlib.h | 32 ++++++++++++++
> lib/zlib/uncompr.c | 97 +++++++++++++++++++++++++++++++++++++++++++
> lib/zlib/zlib.c | 1 +
> 3 files changed, 130 insertions(+)
> create mode 100644 lib/zlib/uncompr.c
Can you confirm that on a platform where we aren't enabling squashfs the
new zlib functionality ends up being discarded at link time? Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 659 bytes
Desc: not available
More information about the U-Boot