[PATCH v4 05/13] binman: Simplify comp_util class

Simon Glass sjg at chromium.org
Tue Aug 16 13:48:16 CEST 2022


On Tue, 16 Aug 2022 at 02:42, Stefan Herbrechtsmeier
<stefan.herbrechtsmeier-oss at weidmueller.com> wrote:
>
> From: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
>
> Simplify the comp_util class by remove duplicate code as preparation for
> additional compress algorithms.
>
> Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier at weidmueller.com>
>
> ---
>
> (no changes since v3)
>
> Changes in v3:
> - Rename COMPRESSIONS to ALGORITHMS
> - Rework existing comments
> - Add _get_tool_name function comment
> - Add _get_tool function comment
>
>  tools/binman/cbfs_util_test.py |   2 +-
>  tools/binman/comp_util.py      | 101 +++++++++++++++++++++++----------
>  tools/binman/ftest.py          |   2 +-
>  3 files changed, 72 insertions(+), 33 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list