diff options
author | Simon Glass <sjg@chromium.org> | 2023-01-07 14:07:12 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-01-18 11:50:01 -0700 |
commit | c8c9f3108a7b8c3ff391f60b184fa372ae4f32f2 (patch) | |
tree | 326f5e1078f7b02783d0f0832a60ebad62a96654 /tools/binman/control.py | |
parent | 23ab4e0054783e619fcf39a50faf9c08c2e18fa5 (diff) |
binman: Support optional entries
Support entries which can be optional depending on their contents. This
allows special entry types which appear in the image only when needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/control.py')
-rw-r--r-- | tools/binman/control.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py index 964c6984f9..0722538114 100644 --- a/tools/binman/control.py +++ b/tools/binman/control.py @@ -552,6 +552,7 @@ def ProcessImage(image, update_fdt, write_map, get_contents=True, image.SetAllowMissing(allow_missing) image.SetAllowFakeBlob(allow_fake_blobs) image.GetEntryContents() + image.drop_absent() image.GetEntryOffsets() # We need to pack the entries to figure out where everything |