summaryrefslogtreecommitdiff
path: root/tools/binman/image.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-06-01 09:38:19 -0600
committerSimon Glass <sjg@chromium.org>2018-06-07 11:25:08 -0800
commit7ae5f315b34454d1a993e7e96e94d26da6e28e6c (patch)
treecf3e375c1eed93c8b11f6cfd5c92fd58aaa2d983 /tools/binman/image.py
parent084059a31fd3455770acc393b0e0d07c5ed88eec (diff)
binman: Tidy up some docs and comments
Fix a few missing comments and tidy up some existing ones. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/image.py')
-rw-r--r--tools/binman/image.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/binman/image.py b/tools/binman/image.py
index 1d234965fa..74bc46fd30 100644
--- a/tools/binman/image.py
+++ b/tools/binman/image.py
@@ -30,6 +30,11 @@ class Image:
_size: Image size in bytes, or None if not known yet
_filename: Output filename for image
_sections: Sections present in this image (may be one or more)
+
+ Args:
+ test: True if this is being called from a test of Images. This this case
+ there is no device tree defining the structure of the section, so
+ we create a section manually.
"""
def __init__(self, name, node, test=False):
self._node = node