mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
binman: Add zstd bintool
Add zstd bintool to binman to support on-the-fly compression. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Simon Glass
parent
432a825520
commit
cd15b640b0
@@ -1191,7 +1191,7 @@ features to produce new behaviours.
|
||||
"""
|
||||
algo = self.compress
|
||||
if algo != 'none':
|
||||
algos = ['bzip2', 'gzip', 'lz4', 'lzma', 'lzo', 'xz']
|
||||
algos = ['bzip2', 'gzip', 'lz4', 'lzma', 'lzo', 'xz', 'zstd']
|
||||
if algo not in algos:
|
||||
raise ValueError("Unknown algorithm '%s'" % algo)
|
||||
names = {'lzma': 'lzma_alone', 'lzo': 'lzop'}
|
||||
|
||||
Reference in New Issue
Block a user