binman: Move compression into binman
authorSimon Glass <sjg@chromium.org>
Mon, 10 Jan 2022 03:14:03 +0000 (20:14 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Jan 2022 19:36:11 +0000 (12:36 -0700)
commitad35ce5466187298bc998e851f355f4bb119428b
treeef18009bf49172279308fda9c28e0e55d44ceffe
parentf75db1e9960bca5b287d3471819e451f03cd4bd7
binman: Move compression into binman

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@chromium.org>
tools/binman/cbfs_util.py
tools/binman/comp_util.py [new file with mode: 0644]
tools/binman/entry.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/patman/tools.py