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>
This commit is contained in:
Marek Behún
2019-04-29 22:40:44 +02:00
committed by Tom Rini
parent 83a486b6fd
commit 8509f22aac
16 changed files with 7702 additions and 0 deletions

4
lib/zstd/Makefile Normal file
View File

@@ -0,0 +1,4 @@
obj-y += zstd_decompress.o
zstd_decompress-y := huf_decompress.o decompress.o \
entropy_common.o fse_decompress.o zstd_common.o