summaryrefslogtreecommitdiff
path: root/tools/binman/test
diff options
context:
space:
mode:
authorMoteen Shah <[email protected]>2025-05-16 17:11:48 +0530
committerTom Rini <[email protected]>2025-06-26 11:48:37 -0600
commit1b5e41964c34ee062fe9932ef5f9ccc747c50ea1 (patch)
treef81ac42019ef132665f969b85872f576096cf1d1 /tools/binman/test
parentd85d15fdfebd040e58bdf80e40ef09d67a8ac808 (diff)
tools: binman: ftest.py: Add testcase for bootph-* propagation
Add a testcase to ensure that scan_and_prop_bootph() actually propagates bootph-* properties to supernodes. Signed-off-by: Moteen Shah <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'tools/binman/test')
-rw-r--r--tools/binman/test/347_bootph_prop.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/binman/test/347_bootph_prop.dts b/tools/binman/test/347_bootph_prop.dts
new file mode 100644
index 00000000000..91d4e4ad600
--- /dev/null
+++ b/tools/binman/test/347_bootph_prop.dts
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/dts-v1/;
+/ {
+ dummy-parent {
+ subnode-1 {
+ subnode-2 {
+ bootph-all;
+ };
+ subnode-3 {
+ bootph-some-ram;
+ subnode-4 {
+ };
+ };
+ };
+ };
+
+ binman: binman {
+ };
+};
+