u-boot-brain/tools/binman/test/066_text.dts
Simon Glass aa88b50d82 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>
2019-07-23 20:27:57 -07:00

34 lines
521 B
Plaintext

// SPDX-License-Identifier: GPL-2.0+
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
binman {
text {
size = <8>;
text-label = "test-id";
};
text2 {
type = "text";
text-label = "test-id2";
};
text3 {
type = "text";
text-label = "test-id3";
};
/* This one does not use command-line args */
text4 {
type = "text";
text-label = "test-id4";
test-id4 = "some text";
};
/* Put text directly in the node */
text5 {
type = "text";
text = "more text";
};
};
};