summaryrefslogtreecommitdiff
path: root/tools/binman/test
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-01-11 16:10:12 -0700
committerSimon Glass <[email protected]>2023-01-18 14:55:40 -0700
commit0b079fcb09c5178ea3de62c7983cb03eea62b4e2 (patch)
tree12bcc4827f4aed1fb70b4e1647f7137323435bc3 /tools/binman/test
parent12c3e948eeab0531c7eec813969e089f9f252891 (diff)
binman: Add a test for an inner section with a size
This is a slightly different scenario from the existing testSections tests. Add a new test for it. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
-rw-r--r--tools/binman/test/267_section_inner.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/binman/test/267_section_inner.dts b/tools/binman/test/267_section_inner.dts
new file mode 100644
index 00000000000..f6faab3d2f9
--- /dev/null
+++ b/tools/binman/test/267_section_inner.dts
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ binman {
+ section {
+ size = <0x10>;
+ u-boot {
+ };
+ };
+ };
+};