]> git.sur5r.net Git - u-boot/blobdiff - tools/binman/control.py
binman: Support updating the device tree with calc'd info
[u-boot] / tools / binman / control.py
index eafabf05c7cbaf5584bd097803ade468ffeb9863..a40b300fdacba2f105942aa1c7ff93b3d3012ee4 100644 (file)
@@ -168,6 +168,8 @@ def Binman(options, args):
                 image.BuildImage()
                 if options.map:
                     image.WriteMap()
+            with open(fname, 'wb') as outfd:
+                outfd.write(dtb.GetContents())
         finally:
             tools.FinaliseOutputDir()
     finally: