summaryrefslogtreecommitdiff
path: root/tools/binman/control.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-01 05:13:55 -0600
committerSimon Glass <sjg@chromium.org>2020-09-22 12:50:43 -0600
commite9d336d866cd5ab943f8ec00775a413a847c4960 (patch)
tree934c0eb1d03c5c43e6d9ff700573e5f748a6c468 /tools/binman/control.py
parent3decfa3a8761538d791d006edbf01135a453a2ac (diff)
binman: Fix up a few missing comments
Tidy up a few test functions which lack argument comments. Rename one that has the same name as a different test. Also fix up the comment for PrepareImagesAndDtbs(). Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/control.py')
-rw-r--r--tools/binman/control.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py
index 3b523266417..15bfac582a7 100644
--- a/tools/binman/control.py
+++ b/tools/binman/control.py
@@ -346,6 +346,11 @@ def PrepareImagesAndDtbs(dtb_fname, select_images, update_fdt):
dtb_fname: Filename of the device tree file to use (.dts or .dtb)
selected_images: List of images to output, or None for all
update_fdt: True to update the FDT wth entry offsets, etc.
+
+ Returns:
+ OrderedDict of images:
+ key: Image name (str)
+ value: Image object
"""
# Import these here in case libfdt.py is not available, in which case
# the above help option still works.