Skip to content
Commit 90e455dc authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

zstd: Create a function for use from U-Boot



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: default avatarSimon Glass <sjg@chromium.org>
parent bd55e82f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment