mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 21:13:48 +00:00
aa88b50d82
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>
33 lines
521 B
Text
33 lines
521 B
Text
// 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";
|
|
};
|
|
};
|
|
};
|