diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2019-04-29 22:40:44 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-05-05 08:48:50 -0400 |
commit | 8509f22aacf04ae892e28c2df3a79c1d72c39c25 (patch) | |
tree | bc9a4e343df2229b400df75c1054f855d1f88c16 /lib/Kconfig | |
parent | 83a486b6fdb9cc0d009de75d304fb51156425215 (diff) | |
download | u-boot-8509f22aacf04ae892e28c2df3a79c1d72c39c25.tar.gz |
lib: add Zstandard decompression support
Add the zstd library from Linux kernel (only decompression support).
There are minimal changes to build with U-Boot, otherwise the files are
identical to Linux commit dc35da16 from March 2018, the files had not
been touched since in kernel. Also SPDX lincese tags were added.
Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 1ed69fafc7..416e63c1c7 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -374,6 +374,12 @@ config ZLIB help This enables ZLIB compression lib. +config ZSTD + bool "Enable Zstandard decompression support" + select XXHASH + help + This enables Zstandard decompression library. + config SPL_LZ4 bool "Enable LZ4 decompression support in SPL" help @@ -398,6 +404,12 @@ config SPL_ZLIB help This enables compression lib for SPL boot. +config SPL_ZSTD + bool "Enable Zstandard decompression support in SPL" + select XXHASH + help + This enables Zstandard decompression library in the SPL. + endmenu config ERRNO_STR |