mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-31 06:18:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
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";
|
|
};
|
|
};
|
|
};
|