summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2018-07-10 11:50:03 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-07-13 08:17:23 +0200
commit89dae91a4a72079f5b2adaff1a42249a82d138df (patch)
treedda6ad363b327a800c2697e5d297bc3355bff034
parent99d6e2a65cc122b9b850657855d5abb6ff978810 (diff)
downloadbarebox-89dae91a4a72079f5b2adaff1a42249a82d138df.tar.gz
Documentation: state: add unit name to state variable in DT
Starting with DT compiler version 1.4.6 (included since v2018.07.0) one gets warnings <node>: node has a reg or ranges property, but no unit name if the first address field of a reg-property is not taken as the unit name for its parent node. Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--Documentation/user/state.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/user/state.rst b/Documentation/user/state.rst
index 843705b..89129ad 100644
--- a/Documentation/user/state.rst
+++ b/Documentation/user/state.rst
@@ -475,7 +475,7 @@ content, its backend-type and *state* variable set layout.
backend-storage-type = "circular";
backend-stridesize = <32>;
- variable {
+ variable@0 {
reg = <0x0 0x1>;
type ="uint8";
default = <0x1>;
@@ -524,7 +524,7 @@ content, its backend-type and *state* variable layout.
backend = <&backend_state_nand>;
backend-storage-type = "circular";
- variable {
+ variable@0 {
reg = <0x0 0x1>;
type ="uint8";
default = <0x1>;
@@ -566,7 +566,7 @@ content, its backend-type and *state* variable layout.
backend = <&backend_state_sd>;
backend-stridesize = <0x40>;
- variable {
+ variable@0 {
reg = <0x0 0x1>;
type ="uint8";
default = <0x1>;
@@ -614,7 +614,7 @@ content, its backend-type and *state* variable layout.
backend-storage-type = "direct";
backend-stridesize = <32>;
- variable {
+ variable@0 {
reg = <0x0 0x1>;
type ="uint8";
default = <0x1>;
@@ -668,7 +668,7 @@ content, its backend-type and *state* variable layout.
backend-storage-type = "direct";
backend-stridesize = <32>;
- variable {
+ variable@0 {
reg = <0x0 0x1>;
type ="uint8";
default = <0x1>;