[PATCH v6 13/21] binman: Move compression bintool management into entry class

Simon Glass sjg at chromium.org
Sat Aug 20 23:33:42 CEST 2022


On Fri, 19 Aug 2022 at 08:26, Stefan Herbrechtsmeier
<stefan.herbrechtsmeier-oss at weidmueller.com> wrote:
>
> From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at 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 at 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 at chromium.org>


More information about the U-Boot mailing list