binman: Support reading from CBFS entries
authorSimon Glass <sjg@chromium.org>
Mon, 8 Jul 2019 20:25:51 +0000 (14:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:54:08 +0000 (12:54 -0700)
commit3a9c252583785c3aabce834e8f9a54fa94685ee8
treecf22b8d2d4cbc0b6ee10b05de600aab0583137e4
parentf667e45b1c0a7f21d433ee8f3ec18858d87dd2e5
binman: Support reading from CBFS entries

CBFS is a bit like a section but with a custom format. Provide the list of
entries and the compression type to binman so that it can extract the data
from the CBFS, just like any other part of the image.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/cbfs_util.py
tools/binman/etype/cbfs.py