580a9f6c28
The existing function to add a new property to a tree being built requires that the entire contents of the new property be passed in. For some applications it is more convenient to be able to add the property contents later, perhaps by reading from a file. This avoids double-buffering of the contents. Add a new function to support this and adjust the existing fdt_property() to use it. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
14 lines
250 B
Text
14 lines
250 B
Text
subnode@1 {
|
|
compatible = "subnode1";
|
|
reg = <1>;
|
|
prop-int = [deadbeef];
|
|
|
|
subsubnode {
|
|
compatible = "subsubnode1", "subsubnode";
|
|
placeholder = "this is a placeholder string", "string2";
|
|
prop-int = <0xdeadbeef>;
|
|
};
|
|
|
|
ss1 {
|
|
};
|
|
};
|