binman: Move entry-data collection into a Entry method
authorSimon Glass <sjg@chromium.org>
Tue, 8 Feb 2022 18:50:00 +0000 (11:50 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Feb 2022 17:05:44 +0000 (10:05 -0700)
commit81b71c32005475395b5b4d0945de4e6a9136d191
tree560a1b99c6ee28b7b2dd3a5935402d908ee1e9d9
parent56385c585fa5c51aacfd7ffa8021ea705c715b6f
binman: Move entry-data collection into a Entry method

Collecting the data from a list of entries and putting it in a file is
a useful operation that will be needed by other entry types. Put this into
a method in the Entry class.

Add some documentation about how to collect data for an entry type.

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