[PATCH 04/20] binman: Tidy up comment for Bintoolfdt_add_pubkey.run()

Simon Glass sjg at chromium.org
Sat Jul 20 12:49:34 CEST 2024


This function returns a value, so add documentation for it.

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

 tools/binman/btool/fdt_add_pubkey.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/binman/btool/fdt_add_pubkey.py b/tools/binman/btool/fdt_add_pubkey.py
index a50774200c9..75a9716ad72 100644
--- a/tools/binman/btool/fdt_add_pubkey.py
+++ b/tools/binman/btool/fdt_add_pubkey.py
@@ -32,6 +32,10 @@ class Bintoolfdt_add_pubkey(bintool.Bintool):
                 verified for the image / configuration to be considered valid.
             algo (str): Cryptographic algorithm. Optional parameter,
                 default value: sha1,rsa2048
+
+        Returns:
+            CommandResult: Resulting output from the bintool, or None if the
+                tool is not present
         """
         args = []
         if algo:
-- 
2.34.1



More information about the U-Boot mailing list