aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/control.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-09-14 04:57:28 -0600
committerSimon Glass <sjg@chromium.org>2018-09-29 11:49:35 -0600
commit0a98b28b06800da48f006069fe14e47dd399d2ff (patch)
tree1646d2600d0b6e8ba7459695db082bc7f345d9b6 /tools/binman/control.py
parentb4e1a38c294f56708d1a82717c850da359401d7e (diff)
downloadu-boot-0a98b28b06800da48f006069fe14e47dd399d2ff.zip
u-boot-0a98b28b06800da48f006069fe14e47dd399d2ff.tar.gz
u-boot-0a98b28b06800da48f006069fe14e47dd399d2ff.tar.bz2
binman: Support adding files
In some cases it is useful to add a group of files to the image and be able to access them at run-time. Of course it is possible to generate the binman config file with a set of blobs each with a filename. But for convenience, add an entry type which can do this. Add required support (for adding nodes and string properties) into the state module. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/control.py')
-rw-r--r--tools/binman/control.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py
index e326456..caa194c 100644
--- a/tools/binman/control.py
+++ b/tools/binman/control.py
@@ -146,6 +146,7 @@ def Binman(options, args):
# without changing the device-tree size, thus ensuring that our
# entry offsets remain the same.
for image in images.values():
+ image.ExpandEntries()
if options.update_fdt:
image.AddMissingProperties()
image.ProcessFdt(dtb)