From 33c9db62d49306805bf7ccfb7e6c6e53238ad0c0 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 18 Dec 2025 17:30:57 -0600 Subject: 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 --- include/lzma/LzmaTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/lzma/LzmaTypes.h b/include/lzma/LzmaTypes.h index 3670c3ff91e..1bd39b40e8f 100644 --- a/include/lzma/LzmaTypes.h +++ b/include/lzma/LzmaTypes.h @@ -14,6 +14,6 @@ */ #define Byte LZByte -#include "../../lib/lzma/Types.h" +#include "../../lib/lzma/7zTypes.h" #endif -- cgit v1.2.3