diff options
| author | Simon Glass <sjg@chromium.org> | 2021-03-18 20:25:07 +1300 |
|---|---|---|
| committer | Simon Glass <sjg@chromium.org> | 2021-03-26 17:03:09 +1300 |
| commit | 06684927289fb0ad0856fa897bbee10de61137e4 (patch) | |
| tree | 07eee9eb67591ebc42f4cc9d163798be3c9ab643 /tools/binman/test | |
| parent | 0b6023ee41add24ebb9df215ceaec0a803d6c552 (diff) | |
| download | u-boot-06684927289fb0ad0856fa897bbee10de61137e4.tar.gz u-boot-06684927289fb0ad0856fa897bbee10de61137e4.tar.xz u-boot-06684927289fb0ad0856fa897bbee10de61137e4.zip | |
binman: Automatically expand phase binaries into sections
When creating an entry, check for an expanded version of that entry, then
use it instead. This allows, for example use of:
u-boot {
};
instead of having to write out in full:
u-boot {
type = "section";
u-boot-nodtb {
};
u-boot-dtb {
};
};
Add an implementaion of this and associated documentation.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/test')
| -rw-r--r-- | tools/binman/test/194_fdt_incl.dts | 17 | ||||
| -rw-r--r-- | tools/binman/test/195_fdt_incl_tpl.dts | 13 |
2 files changed, 30 insertions, 0 deletions
diff --git a/tools/binman/test/194_fdt_incl.dts b/tools/binman/test/194_fdt_incl.dts new file mode 100644 index 0000000000..b14c8ff8f5 --- /dev/null +++ b/tools/binman/test/194_fdt_incl.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + u-boot { + }; + u-boot-spl { + }; + u-boot-tpl { + }; + }; +}; diff --git a/tools/binman/test/195_fdt_incl_tpl.dts b/tools/binman/test/195_fdt_incl_tpl.dts new file mode 100644 index 0000000000..3756ac4fc4 --- /dev/null +++ b/tools/binman/test/195_fdt_incl_tpl.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + u-boot-tpl { + }; + }; +}; |
