aboutsummaryrefslogtreecommitdiff
path: root/tools/binman/test
diff options
context:
space:
mode:
authorSimon Glass2019-07-08 13:18:40 -0600
committerSimon Glass2019-07-23 20:27:57 -0700
commitaa88b50d8267d0ff53cd6a1300d78004fa40d2c8 (patch)
treec99ae7802850d3044589435f62244242165664e3 /tools/binman/test
parentcf54904a99ae06e5b38fb670b09dfa60fe1855d5 (diff)
binman: Allow text directly in the node
At present text entries use an indirect method to specify the text to use, with a label pointing to the text itself. Allow the text to be directly written into the node. This is more convenient in cases where the text is constant. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/test')
-rw-r--r--tools/binman/test/066_text.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/binman/test/066_text.dts b/tools/binman/test/066_text.dts
index 59b1fed0ef8..f23a75ae929 100644
--- a/tools/binman/test/066_text.dts
+++ b/tools/binman/test/066_text.dts
@@ -24,5 +24,10 @@
text-label = "test-id4";
test-id4 = "some text";
};
+ /* Put text directly in the node */
+ text5 {
+ type = "text";
+ text = "more text";
+ };
};
};