mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-17 00:33:27 +08: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>
34 lines
521 B
Plaintext
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";
|
|
};
|
|
};
|
|
};
|