ratio and fairly fast decompression speed. See also
CONFIG_CMD_LZMADEC which provides a decode command.
+config LZMA_SIZE_OPTIMIZATION
+ bool "Optimize the LZMA algorithm for smaller binary size"
+ help
+ This enables building the LZMA library optimized for size, rather
+ than performance. This can be a loss of 15-20% in decompression
+ speed, but a savings of close to two kilobytes in many cases.
+
config LZO
bool "Enable LZO decompression support"
help
help
This enables support for LZMA compression algorithm for SPL boot.
+config SPL_LZMA_SIZE_OPTIMIZATION
+ bool "Optimize the LZMA algorithm for smaller binary size in SPL"
+ help
+ This enables building the LZMA library optimized for size, rather
+ than performance. This can be a loss of 15-20% in decompression
+ speed, but a savings of close to two kilobytes in many cases.
+
config TPL_LZMA
bool "Enable LZMA decompression support for TPL build"
depends on TPL
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
ccflags-y += -D_LZMA_PROB32
+ccflags-$(CONFIG_$(PHASE_)LZMA_SIZE_OPTIMIZATION) += -D_LZMA_SIZE_OPT
obj-y += LzmaDec.o LzmaTools.o