Skip to content
Commit 7210c89e authored by Simon Glass's avatar Simon Glass
Browse files

binman: Update Entry.WriteData() to handle special sections



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: default avatarSimon Glass <sjg@chromium.org>
parent a9cd39ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment