binman: Allow for logging information to be displayed
[oweals/u-boot.git] / tools / binman / image.py
index 2c5668e2a96c1cfe8c5f98afce6063d31755f85e..bbb5e23c3b237b0b45b8976d18cb7e9b0ee7d16f 100644 (file)
@@ -20,6 +20,7 @@ from etype import section
 import fdt
 import fdt_util
 import tools
+import tout
 
 class Image(section.Entry_section):
     """A Image, representing an output from binman
@@ -107,7 +108,7 @@ class Image(section.Entry_section):
         for entry in self._entries.values():
             if not entry.ProcessContents():
                 sizes_ok = False
-                print("Entry '%s' size change" % self._node.path)
+                tout.Debug("Entry '%s' size change" % self._node.path)
         return sizes_ok
 
     def WriteSymbols(self):