This function returns a value, so add documentation for it.
Signed-off-by: Simon Glass <[email protected]>
---
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