
On Fri, 19 Aug 2022 at 08:26, Stefan Herbrechtsmeier stefan.herbrechtsmeier-oss@weidmueller.com wrote:
From: Stefan Herbrechtsmeier stefan.herbrechtsmeier@weidmueller.com
Move management of the bintool to compress and decompress data into the entry class and add the bintool to the list of required bintools.
Signed-off-by: Stefan Herbrechtsmeier stefan.herbrechtsmeier@weidmueller.com
Changes in v6:
- Set uncomp_size after decompress in DecompressData function
Changes in v5:
- Add commit to move compression bintool management into entry class
tools/binman/comp_util.py | 69 ------------------- tools/binman/entry.py | 23 +++++-- tools/binman/ftest.py | 15 ++-- .../binman/test/237_compress_dtb_invalid.dts | 16 +++++ 4 files changed, 41 insertions(+), 82 deletions(-) delete mode 100644 tools/binman/comp_util.py create mode 100644 tools/binman/test/237_compress_dtb_invalid.dts
Reviewed-by: Simon Glass sjg@chromium.org