ipq5018: Enable LZMA decompression support

LZMA usually performs better than gzip in terms of compression
ratio, IPQ5018 has small flash memory and hence the lzma support
is enabled defining the CONFIG_LZMA define.

Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
Change-Id: Ib07abe85206f011c637c61a7c00d8d3788120a41
This commit is contained in:
Ram Chandra Jangir 2020-04-17 14:39:28 +05:30
parent 28e69e89c5
commit 084830e8c4
3 changed files with 10 additions and 0 deletions

View file

@ -318,6 +318,7 @@ CONFIG_REGEX=y
# Compression Support # Compression Support
# #
# CONFIG_LZ4 is not set # CONFIG_LZ4 is not set
CONFIG_LZMA=y
# CONFIG_ERRNO_STR is not set # CONFIG_ERRNO_STR is not set
# CONFIG_UNIT_TEST is not set # CONFIG_UNIT_TEST is not set

View file

@ -318,6 +318,7 @@ CONFIG_REGEX=y
# Compression Support # Compression Support
# #
# CONFIG_LZ4 is not set # CONFIG_LZ4 is not set
CONFIG_LZMA=y
# CONFIG_ERRNO_STR is not set # CONFIG_ERRNO_STR is not set
# CONFIG_UNIT_TEST is not set # CONFIG_UNIT_TEST is not set

View file

@ -127,6 +127,14 @@ config LZ4
frame format currently (2015) implemented in the Linux kernel frame format currently (2015) implemented in the Linux kernel
(generated by 'lz4 -l'). The two formats are incompatible. (generated by 'lz4 -l'). The two formats are incompatible.
config LZMA
bool "Enable LZMA decompression support"
help
If this option is set, support for LZMA compressed images
is included. The LZMA algorithm can run in-place as long as the
compressed image is loaded to the end of the output buffer, and
trades high compression ratios and fairly fast decompression speed.
endmenu endmenu
config ERRNO_STR config ERRNO_STR