binman: Drop CheckEntries()
[platform/kernel/u-boot.git] / tools / binman / etype / section.py
index f93469a..1618beb 100644 (file)
@@ -267,7 +267,9 @@ class Entry_section(Entry):
         size = self.CheckSize()
         self.size = size
 
-        return super().Pack(offset)
+        offset = super().Pack(offset)
+        self.CheckEntries()
+        return offset
 
     def _PackEntries(self):
         """Pack all entries into the section"""