diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-09 18:39:31 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-07-20 11:37:47 -0600 |
commit | 3e8fba4cd41a3b324dffe921f9cd311e41f77a22 (patch) | |
tree | 8ed6eb1dc94b57335e2634334e45dd48f5bf6ef0 /tools/binman/test | |
parent | ce774e94de7009be0039ee02ca75f93d33a285a9 (diff) |
binman: Add support for calling mkimage
As a first step to integrating mkimage into binman, add a new entry type
that feeds data into mkimage for processing and incorporates that output
into the image.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/test')
-rw-r--r-- | tools/binman/test/156_mkimage.dts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/binman/test/156_mkimage.dts b/tools/binman/test/156_mkimage.dts new file mode 100644 index 0000000000..933b13143a --- /dev/null +++ b/tools/binman/test/156_mkimage.dts @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + size = <0x80>; + + mkimage { + args = "-n test -T script"; + + u-boot-spl { + }; + + _testing { + return-contents-later; + }; + }; + }; +}; |