diff options
| author | Simon Glass <[email protected]> | 2023-07-18 07:24:06 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2023-07-20 14:10:58 -0600 |
| commit | db0e3f13b481cabd8f203a4ac742bb1afde6c67e (patch) | |
| tree | f1160d657ce74dffa8b0de8f24a43902e44fa70d /tools/binman/test | |
| parent | 35f72fb55a05ccf2a372566005f60c340924d1cc (diff) | |
binman: Add a test for templating in a FIT
Add this as a separate test case.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
| -rw-r--r-- | tools/binman/test/288_template_fit.dts | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tools/binman/test/288_template_fit.dts b/tools/binman/test/288_template_fit.dts new file mode 100644 index 00000000000..d84dca4ea41 --- /dev/null +++ b/tools/binman/test/288_template_fit.dts @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + binman: binman { + multiple-images; + + my_template: template { + fit@0 { + images { + kernel-1 { + }; + kernel-2 { + }; + }; + }; + }; + + image { + filename = "image.bin"; + insert-template = <&my_template>; + + fit@0 { + description = "desc"; + configurations { + }; + images { + kernel-3 { + }; + kernel-4 { + }; + }; + }; + }; + }; +}; |
