diff options
author | Simon Glass <sjg@chromium.org> | 2021-03-18 10:25:07 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-26 07:03:09 +0300 |
commit | 06684927289fb0ad0856fa897bbee10de61137e4 (patch) | |
tree | 07eee9eb67591ebc42f4cc9d163798be3c9ab643 /tools/binman/test/194_fdt_incl.dts | |
parent | 0b6023ee41add24ebb9df215ceaec0a803d6c552 (diff) | |
download | u-boot-06684927289fb0ad0856fa897bbee10de61137e4.tar.xz |
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/194_fdt_incl.dts')
-rw-r--r-- | tools/binman/test/194_fdt_incl.dts | 17 |
1 files changed, 17 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 { + }; + }; +}; |