aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/control.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-03-02 17:02:44 -0700
committerSimon Glass <sjg@chromium.org>2023-03-08 13:15:14 -0800
commit7caa372a5e41cadd3903165fb26a4b1e0268edbc (patch)
treeef42056d96d7eb43b2b9b0535eb7944240adfacb /tools/binman/control.py
parent033828cf34e11776913298385efac406de89dd08 (diff)
downloadu-boot-7caa372a5e41cadd3903165fb26a4b1e0268edbc.zip
u-boot-7caa372a5e41cadd3903165fb26a4b1e0268edbc.tar.gz
u-boot-7caa372a5e41cadd3903165fb26a4b1e0268edbc.tar.bz2
binman: Support updating section contents
Implement this feature since it is useful for updating FITs within an image. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/control.py')
-rw-r--r--tools/binman/control.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py
index bd40f07..2f2b489 100644
--- a/tools/binman/control.py
+++ b/tools/binman/control.py
@@ -403,6 +403,8 @@ def ReplaceEntries(image_fname, input_fname, indir, entry_paths,
image_fname = os.path.abspath(image_fname)
image = Image.FromFile(image_fname)
+ image.mark_build_done()
+
# Replace an entry from a single file, as a special case
if input_fname:
if not entry_paths: