]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
binman: Correct the comment for fdtgrep
authorSimon Glass <sjg@chromium.org>
Mon, 26 Aug 2024 19:11:30 +0000 (13:11 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 26 Sep 2024 10:40:30 +0000 (12:40 +0200)
This returns stdout, not a CommandResult so update the comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/btool/fdtgrep.py
tools/binman/etype/fit.py

index da1f8c7bf4e4e1759c7245da4aba1ab6748e803a..446b2f4144b80c4bf0aa4b11849e440268e7b874 100644 (file)
@@ -74,8 +74,7 @@ class Bintoolfdtgrep(bintool.Bintool):
                 (with only neceesary nodes and properties)
 
         Returns:
-            CommandResult: Resulting output from the bintool, or None if the
-                tool is not present
+            str or bytes: Resulting stdout from the bintool
         """
         if phase == 'tpl':
             tag = 'bootph-pre-sram'
index ee44e5a1cd6bf7374dcf5fb2477098cee82288e0..b957df5454823f92632a2134eba229455237d143 100644 (file)
@@ -550,6 +550,9 @@ class Entry_fit(Entry_section):
             phase (str): Phase to generate for ('tpl', 'vpl', 'spl')
             outfile (str): Output filename to write the grepped FDT contents to
                 (with only neceesary nodes and properties)
+
+        Returns:
+            str or bytes: Resulting stdout from fdtgrep
         """
         return self.fdtgrep.create_for_phase(infile, phase, outfile,
                                              self._remove_props)