summaryrefslogtreecommitdiff
path: root/tools/binman/test
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2023-07-18 07:23:58 -0600
committerSimon Glass <[email protected]>2023-07-20 14:10:58 -0600
commitfadad3a64a12cf279d31088aebc45806ec86fb4e (patch)
tree97dc712312e3ea7a12d49be633fd1d558377587e /tools/binman/test
parent20a317fb75f2cbd03cd8d2f8e65bab5faf6abbb4 (diff)
binman: Convert mkimage to Entry_section
This is needed to handle mkimage with inner section located itself in a section. Signed-off-by: Marek Vasut <[email protected]> Use BuildSectionData() instead of ObtainContents(), add tests and a few other minor fixes: Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
-rw-r--r--tools/binman/test/283_mkimage_special.dts24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/binman/test/283_mkimage_special.dts b/tools/binman/test/283_mkimage_special.dts
new file mode 100644
index 00000000000..c234093e6ec
--- /dev/null
+++ b/tools/binman/test/283_mkimage_special.dts
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ binman {
+ mkimage {
+ args = "-T script";
+
+ u-boot {
+ };
+
+ hash {
+ };
+
+ imagename {
+ type = "u-boot";
+ };
+ };
+ };
+};