mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
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:
parent
28e69e89c5
commit
084830e8c4
3 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue