summaryrefslogtreecommitdiff
path: root/tools/binman/entry.py
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2022-08-19 16:25:27 +0200
committerSimon Glass <sjg@chromium.org>2022-08-20 18:07:33 -0600
commit4f463e3dee863cdfeb34f37bcca6ae0cb46f7b51 (patch)
tree2dd4c6717c07e533f9397f6c6685341e86eecbea /tools/binman/entry.py
parent9f74395ee5482aaa7a03b48201773fb9bc08c72e (diff)
binman: Remove obsolete compressed data header handling
Remove the obsolete compressed data header handling from the utilities to compress and decompress data. The header is uncommon, not supported by U-Boot and incompatible with external compressed artifacts. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/entry.py')
-rw-r--r--tools/binman/entry.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/binman/entry.py b/tools/binman/entry.py
index c31b8453469..f448adbcfe0 100644
--- a/tools/binman/entry.py
+++ b/tools/binman/entry.py
@@ -1112,12 +1112,12 @@ features to produce new behaviours.
indata: Data to compress
Returns:
- Compressed data (first word is the compressed size)
+ Compressed data
"""
self.uncomp_data = indata
if self.compress != 'none':
self.uncomp_size = len(indata)
- data = comp_util.compress(indata, self.compress, with_header=False)
+ data = comp_util.compress(indata, self.compress)
return data
def DecompressData(self, indata):
@@ -1129,7 +1129,7 @@ features to produce new behaviours.
Returns:
Decompressed data
"""
- data = comp_util.decompress(indata, self.compress, with_header=False)
+ data = comp_util.decompress(indata, self.compress)
if self.compress != 'none':
self.uncomp_size = len(data)
self.uncomp_data = data