binman: Add DecompressData function to entry class
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Fri, 19 Aug 2022 14:25:24 +0000 (16:25 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 21 Aug 2022 00:07:33 +0000 (18:07 -0600)
commit204a27bbb222c61bf5aaecbf7e00a5a8aa835bf9
tree9e25c0354c45402dba7ecb4bcb378edd0f1e370c
parentfa24f5578cc0a2dc3afe8ce0c7b53b2d4408434c
binman: Add DecompressData function to entry class

Add a DecompressData function to entry class to allow override in child
classes and to centralize the compress and decompress in a single class.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/entry.py
tools/binman/etype/section.py