summaryrefslogtreecommitdiff
path: root/tools/binman/entry_test.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-07-20 21:24:05 +0300
committerSimon Glass <sjg@chromium.org>2019-07-29 18:38:06 +0300
commit7210c89eac7fb68947f5f31372d9f1e93f42df0c (patch)
treef1664e112079402eb0296f8e24803fca0dafaa5a /tools/binman/entry_test.py
parenta9cd39ef751efdd05a3a5ccae13e28d8a993292d (diff)
downloadu-boot-7210c89eac7fb68947f5f31372d9f1e93f42df0c.tar.xz
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/entry_test.py')
0 files changed, 0 insertions, 0 deletions