binman: Add a new 'image-pos' property
[oweals/u-boot.git] / tools / binman / image.py
index ed8261a652aa0177d1fe4a69c061a3bdcc3d28e1..4debc734519d86ec479fb23398a9113710bee135 100644 (file)
@@ -96,6 +96,9 @@ class Image:
     def SetCalculatedProperties(self):
         self._section.SetCalculatedProperties()
 
+    def SetImagePos(self):
+        self._section.SetImagePos(0)
+
     def ProcessEntryContents(self):
         """Call the ProcessContents() method for each entry