u-boot/tools/binman/test/240_mkimage_coll.dts
Simon Glass d626e825f5 binman: Allow collection to use entries from other sections
At present the collections etype only works with entries in the same
section. This can be limiting, since in some cases the data may be inside
a subsection, e.g. if there are alignment constraints.

Add a function to find the entries in an etype and have it search
recursively. Make use of this for mkimage also.

Signed-off-by: Simon Glass <sjg@chromium.org>
2022-08-20 18:07:32 -06:00

27 lines
304 B
Text

// SPDX-License-Identifier: GPL-2.0+
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
binman {
collection {
content = <&spl &u_boot>;
};
mkimage {
args = "-T script";
spl: u-boot-spl {
};
imagename {
type = "section";
u_boot: u-boot {
};
};
};
};
};