]> git.sur5r.net Git - u-boot/blobdiff - tools/binman/etype/section.py
binman: Add a SetCalculatedProperties() method
[u-boot] / tools / binman / etype / section.py
index 9b38738d38d70d62431ac0d26c37c42a70b37a11..787257d3ec17790506b2a75aa100dc3514d1cdc6 100644 (file)
@@ -20,6 +20,10 @@ class Entry_section(Entry):
     def ProcessFdt(self, fdt):
         return self._section.ProcessFdt(fdt)
 
+    def AddMissingProperties(self):
+        Entry.AddMissingProperties(self)
+        self._section.AddMissingProperties()
+
     def ObtainContents(self):
         return self._section.GetEntryContents()
 
@@ -45,6 +49,10 @@ class Entry_section(Entry):
         """Write symbol values into binary files for access at run time"""
         self._section.WriteSymbols()
 
+    def SetCalculatedProperties(self):
+        Entry.SetCalculatedProperties(self)
+        self._section.SetCalculatedProperties()
+
     def ProcessContents(self):
         self._section.ProcessEntryContents()
         super(Entry_section, self).ProcessContents()