lib: add Zstandard decompression support
authorMarek Behún <marek.behun@nic.cz>
Mon, 29 Apr 2019 20:40:44 +0000 (22:40 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 5 May 2019 12:48:50 +0000 (08:48 -0400)
commit8509f22aacf04ae892e28c2df3a79c1d72c39c25
treebc9a4e343df2229b400df75c1054f855d1f88c16
parent83a486b6fdb9cc0d009de75d304fb51156425215
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>
16 files changed:
include/linux/zstd.h [new file with mode: 0644]
lib/Kconfig
lib/Makefile
lib/zstd/Makefile [new file with mode: 0644]
lib/zstd/bitstream.h [new file with mode: 0644]
lib/zstd/decompress.c [new file with mode: 0644]
lib/zstd/entropy_common.c [new file with mode: 0644]
lib/zstd/error_private.h [new file with mode: 0644]
lib/zstd/fse.h [new file with mode: 0644]
lib/zstd/fse_decompress.c [new file with mode: 0644]
lib/zstd/huf.h [new file with mode: 0644]
lib/zstd/huf_decompress.c [new file with mode: 0644]
lib/zstd/mem.h [new file with mode: 0644]
lib/zstd/zstd_common.c [new file with mode: 0644]
lib/zstd/zstd_internal.h [new file with mode: 0644]
lib/zstd/zstd_opt.h [new file with mode: 0644]