binman: Store the original data before compression
authorSimon Glass <sjg@chromium.org>
Mon, 26 Oct 2020 23:40:15 +0000 (17:40 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:59 +0000 (14:42 -0600)
commit97c3e9a6faa4483a700b26988bc48c2f9efe8dd6
tree031a9234c43728c3628b56dd8d890fbca0ca1d5e
parent7d398bb1c71580da2182f0b820d91950bf4b3d24
binman: Store the original data before compression

When compressing an entry, the original uncompressed data is overwritten.
Store it so it is available if needed.

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