]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Add support for passing arguments to entries
authorSimon Glass <sjg@chromium.org>
Tue, 17 Jul 2018 19:25:32 +0000 (13:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 1 Aug 2018 22:30:47 +0000 (16:30 -0600)
commit53af22a9958ca93c89056ad2750ad0d46a51b6c8
tree232abf4eb746495b01b96f3540a370ae71ac1da0
parentdc08ecc90cc57d7ca73f837a847a81c8b1e8af79
binman: Add support for passing arguments to entries

Sometimes it is useful to pass binman the value of an entry property from
the command line. For example some entries need access to files and it is
not always convenient to put these filenames in the image definition
(device tree).

Add a -a option which can be used like this:

   -a<prop>=<value>

where

   <prop> is the property to set
   <value> is the value to set it to

Signed-off-by: Simon Glass <sjg@chromium.org>
12 files changed:
tools/binman/README
tools/binman/cmdline.py
tools/binman/control.py
tools/binman/entry.py
tools/binman/etype/_testing.py
tools/binman/ftest.py
tools/binman/test/62_entry_args.dts [new file with mode: 0644]
tools/binman/test/63_entry_args_missing.dts [new file with mode: 0644]
tools/binman/test/64_entry_args_required.dts [new file with mode: 0644]
tools/binman/test/65_entry_args_unknown_datatype.dts [new file with mode: 0644]
tools/dtoc/fdt_util.py
tools/dtoc/test_fdt.py