summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-07-20 11:49:34 +0100
committerSimon Glass <sjg@chromium.org>2024-07-29 08:42:18 -0600
commit82873aab47c092a16c4f8743749215700f151e39 (patch)
tree8a2eabdbee379b39fbb55328760d59a95ee5482d /tools
parent018646cddd5f6e1d44a1d1d382d85fd1360f96cd (diff)
downloadu-boot-82873aab47c092a16c4f8743749215700f151e39.tar.gz
u-boot-82873aab47c092a16c4f8743749215700f151e39.tar.bz2
u-boot-82873aab47c092a16c4f8743749215700f151e39.zip
binman: Tidy up comment for Bintoolfdt_add_pubkey.run()
This function returns a value, so add documentation for it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/btool/fdt_add_pubkey.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/binman/btool/fdt_add_pubkey.py b/tools/binman/btool/fdt_add_pubkey.py
index a50774200c..75a9716ad7 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: