binman: Change how faked blobs are created
authorSimon Glass <sjg@chromium.org>
Sun, 6 Mar 2022 03:19:03 +0000 (20:19 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:25 +0000 (19:24 -0600)
commit9a0a2e9569f0d4e89cbaace40227e18c9c37fbf4
tree0b71229ab382eae9428093699e27085f78aeb6ed
parentae9a45702954707619df6990bb479c98f5346408
binman: Change how faked blobs are created

At present fake blobs are created but internally an empty blob is used.
Change it to use the contents of the faked file. Also return whether the
blob was faked, in case the caller needs to know that.

Add a TODO to put fake blobs in their own directory.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/binman/binman.rst
tools/binman/entry.py
tools/binman/etype/blob.py
tools/binman/etype/blob_ext_list.py