]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Allow entries to expand after packing
authorSimon Glass <sjg@chromium.org>
Mon, 8 Jul 2019 20:25:37 +0000 (14:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:54:08 +0000 (12:54 -0700)
commitc52c9e7da809e36001d125891e594c4740235055
treeb2a206a5487a5cd7b156659e2358ccf0ccc92f98
parentbf6906bab4129660a74639e3fafb463917778d2b
binman: Allow entries to expand after packing

Add support for detecting entries that change size after they have already
been packed, and re-running packing when it happens.

This removes the limitation that entry size cannot change after
PackEntries() is called.

Signed-off-by: Simon Glass <sjg@chromium.org>
12 files changed:
tools/binman/README
tools/binman/bsection.py
tools/binman/control.py
tools/binman/entry.py
tools/binman/etype/_testing.py
tools/binman/etype/section.py
tools/binman/etype/u_boot_with_ucode_ptr.py
tools/binman/ftest.py
tools/binman/image.py
tools/binman/test/121_entry_expand.dts [new file with mode: 0644]
tools/binman/test/122_entry_expand_twice.dts [new file with mode: 0644]
tools/binman/test/123_entry_expand_section.dts [new file with mode: 0644]