patman: Add functions to compress and decompress data
authorSimon Glass <sjg@chromium.org>
Mon, 8 Jul 2019 19:18:41 +0000 (13:18 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 03:27:57 +0000 (20:27 -0700)
commit07d9e70bf9a65f3c94573b9e11f12025b472cff1
treeea4186b09b7c61e2ef4c60d188560ef26b427c78
parentaa88b50d8267d0ff53cd6a1300d78004fa40d2c8
patman: Add functions to compress and decompress data

Add utility functions to compress and decompress using lz4 and lzma
algorithms. In the latter case these use the legacy lzma support favoured
by coreboot's CBFS.

No tests are provided as these functions will be tested by the CBFS
tests in a separate patch.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/README
tools/patman/tools.py