The existing zstd API requires the same sequence of calls to perform its task. Create a helper for U-Boot, to avoid code duplication, as is done with other compression algorithms. Make use of of this from the image code. Note that the zstd code lacks a test in test/compression.c and this should be added by the maintainer. Signed-off-by: Simon Glass <sjg@chromium.org> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| bitstream.h | ||
| decompress.c | ||
| entropy_common.c | ||
| error_private.h | ||
| fse.h | ||
| fse_decompress.c | ||
| huf.h | ||
| huf_decompress.c | ||
| mem.h | ||
| zstd.c | ||
| zstd_common.c | ||
| zstd_internal.h | ||
| zstd_opt.h | ||