diff options
author | Joao Marcos Costa <joaomarcos.costa@bootlin.com> | 2020-07-30 15:33:49 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-07 22:31:32 -0400 |
commit | 81014f73f0906a70bd710ed8d7e8559e1fd8f400 (patch) | |
tree | 0cd2f30ea6f9461f467aa5c6899e78c00fc1af7d /lib/Kconfig | |
parent | bba604b65e58f8e540ee60b57b9f9c78dcc83f04 (diff) | |
download | u-boot-81014f73f0906a70bd710ed8d7e8559e1fd8f400.tar.gz |
include/u-boot, lib/zlib: add sources for zlib decompression
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
commit.
Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 2142bd06e6..089348af73 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -460,6 +460,13 @@ config GZIP help This enables support for GZIP compression algorithm. +config ZLIB_UNCOMPRESS + bool "Enables zlib's uncompress() functionality" + help + This enables an extra zlib functionality: the uncompress() function, + which decompresses data from a buffer into another, knowing their + sizes. Unlike gunzip(), there is no header parsing. + config GZIP_COMPRESSED bool select ZLIB |