binman: Support loading entry data from a file
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2019 18:23:41 +0000 (12:23 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2019 15:38:05 +0000 (09:38 -0600)
commitd5079330f588a1aeedc734197124543bbc4e2d3c
tree0247b9faeb43b805280d44d81e7a186961bc1250
parent589d8f917e718f702142d1fdba51723d45237b44
binman: Support loading entry data from a file

When modifying an image it is convenient to load the data from the file
into each entry so that it can be reprocessed. Add a new LoadData() method
to handle this.

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