summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-12-18 17:30:57 -0600
committerTom Rini <[email protected]>2026-01-06 14:44:21 -0600
commit33c9db62d49306805bf7ccfb7e6c6e53238ad0c0 (patch)
tree9f749028788cf92cb1b3ae852c0a97e59a21bd34 /lib/Kconfig
parente7797f450ad26bca32c12ae55e3d43438b74f910 (diff)
lzma: Update LZMA SDK code from 9.20 to 25.01
Currently, we have a copy of the LZMA SDK code, version 9.20, with small updates. The original import of the LZMA SDK included a script to update the library. This is no longer possible, due to important local changes, so remove it. We also remove a number of extra text files that should be unchanged from upstream, but provide no direct value to the project. Instead, have the help text for LZMA note that this comes from the LZMA SDK. Next, we move our code up to the current release, 25.01. There are a number of new header files, and some performance improvements made to the code, at the cost of between 2 to 3 kilobytes in binary size. As there is now a Kconfig option to disable this and retain similar speed to what we have currently, the default option is to make this trade-off. Our changes to the code around calling schedule() to avoid the watchdog being triggered are kept. We add __UBOOT__ guards in two places to prevent conflict with our own usage of these words on MIPS. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 96032eaddf9..931d5206936 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -835,8 +835,9 @@ config LZMA
help
This enables support for LZMA (Lempel-Ziv-Markov chain algorithm),
a dictionary compression algorithm that provides a high compression
- ratio and fairly fast decompression speed. See also
- CONFIG_CMD_LZMADEC which provides a decode command.
+ ratio and fairly fast decompression speed. Our implementation comes
+ from the LZMA SDK. See also CONFIG_CMD_LZMADEC which provides a
+ decode command.
config LZMA_SIZE_OPTIMIZATION
bool "Optimize the LZMA algorithm for smaller binary size"