diff options
author | Simon Glass <sjg@chromium.org> | 2018-06-01 09:38:11 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-06-07 11:25:07 -0800 |
commit | dd57c13bbc28df6f1bc849ec55d1703f4ca0398e (patch) | |
tree | 28401cbca4c07d4cde33fc1944a100c46378fd92 /tools/binman/test | |
parent | 48ae412424ddfda64f45a9d679a960357e57433e (diff) |
binman: Allow unit addresses for binaries
Allow the same binary to appear multiple times in an image by using the
device-tree unit-address feature (u-boot@0, u-boot@1).
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/test')
-rw-r--r-- | tools/binman/test/54_unit_address.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/binman/test/54_unit_address.dts b/tools/binman/test/54_unit_address.dts new file mode 100644 index 0000000000..3216dbbcc1 --- /dev/null +++ b/tools/binman/test/54_unit_address.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + u-boot@0 { + }; + u-boot@1 { + }; + }; +}; |