
29 Jul
2019
29 Jul
'19
11:22 p.m.
At present this method assumes that the parent section does not need to recalculate its position or adjust any metadata it may contain. But when the entry changes size this may not be true. Also if the parent section is more than just a container (e.g. it is a CBFS) then the section may need to regenerate its output.
Add a new WriteChildData() method to sections and call this from the WriteData() method, to handle this situation.
Signed-off-by: Simon Glass sjg@chromium.org ---
tools/binman/entry.py | 21 ++++++++++++++++++++- tools/binman/etype/cbfs.py | 8 ++++++-- tools/binman/etype/section.py | 3 +++ 3 files changed, 29 insertions(+), 3 deletions(-)
Applied to u-boot-dm, thanks!