]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Use binary mode when compressing data
authorSimon Glass <sjg@chromium.org>
Tue, 14 May 2019 21:53:45 +0000 (15:53 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 10 Jul 2019 22:52:58 +0000 (16:52 -0600)
commitb8f0876f1eccc17a1275401ff7bc846235fd3edd
treeb1d5769698ce3d303f018b204237d38c17b30349
parenta92939a4aa65700c3cdfa230fa986d40c508c5e6
binman: Use binary mode when compressing data

The lz4 utility inserts binary data in its output which cannot always be
converted to unicode (nor should it be). Fix this by using the new binary
mode for program output.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/blob.py
tools/binman/ftest.py