[PATCH v2 28/38] binman: Move compression into binman

Simon Glass sjg at chromium.org
Wed Jan 26 16:36:46 CET 2022


The compression functions are not actually used by patman, so we don't
need then in the tools module. Also we want to change them to use
bintools, which patman will not support.

Move these into a new comp_util module, within binman.

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

(no changes since v1)

 tools/binman/cbfs_util.py     |  9 ++--
 tools/binman/comp_util.py     | 88 +++++++++++++++++++++++++++++++++++
 tools/binman/entry.py         |  3 +-
 tools/binman/etype/section.py |  3 +-
 tools/binman/ftest.py         |  9 ++--
 tools/patman/tools.py         | 79 -------------------------------
 6 files changed, 102 insertions(+), 89 deletions(-)
 create mode 100644 tools/binman/comp_util.py

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list