[PATCH v3 12/27] binman: Move the comment for GetFdts() to the base class

Simon Glass sjg at chromium.org
Thu Mar 18 08:25:02 CET 2021


Like with other methods this comment should be in the base class. Move it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v3:
- Add new patch to move the comment for GetFdts() to the base class

 tools/binman/entry.py          | 2 +-
 tools/binman/etype/blob_dtb.py | 9 ---------
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/tools/binman/entry.py b/tools/binman/entry.py
index 507760e2a86..be9419584a2 100644
--- a/tools/binman/entry.py
+++ b/tools/binman/entry.py
@@ -205,7 +205,7 @@ class Entry(object):
             Dict:
                 key: Filename from this entry (without the path)
                 value: Tuple:
-                    Fdt object for this dtb, or None if not available
+                    Entry object for this dtb
                     Filename of file containing this dtb
         """
         return {}
diff --git a/tools/binman/etype/blob_dtb.py b/tools/binman/etype/blob_dtb.py
index 724647a7bbb..3ce7511f6f4 100644
--- a/tools/binman/etype/blob_dtb.py
+++ b/tools/binman/etype/blob_dtb.py
@@ -44,15 +44,6 @@ class Entry_blob_dtb(Entry_blob):
         return None
 
     def GetFdts(self):
-        """Get the device trees used by this entry
-
-        Returns:
-            Dict:
-                key: Filename from this entry (without the path)
-                value: Tuple:
-                    Fdt object for this dtb, or None if not available
-                    Filename of file containing this dtb
-        """
         fname = self.GetDefaultFilename()
         return {self.GetFdtEtype(): [self, fname]}
 
-- 
2.31.0.rc2.261.g7f71774620-goog



More information about the U-Boot mailing list