summaryrefslogtreecommitdiff
path: root/tools/binman/control.py
diff options
context:
space:
mode:
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 8c48008fc75..ded1b71109b 100644
--- a/tools/binman/control.py
+++ b/tools/binman/control.py
@@ -183,6 +183,7 @@ def Binman(options, args):
image.AddMissingProperties()
image.ProcessFdt(dtb)
+ dtb.Sync(auto_resize=True)
dtb.Pack()
dtb.Flush()
@@ -199,6 +200,7 @@ def Binman(options, args):
image.SetImagePos()
if options.update_fdt:
image.SetCalculatedProperties()
+ dtb.Sync()
image.ProcessEntryContents()
image.WriteSymbols()
image.BuildImage()