diff options
author | Ulrich Ölmann <u.oelmann@pengutronix.de> | 2018-07-10 11:50:03 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-07-13 08:17:23 +0200 |
commit | 89dae91a4a72079f5b2adaff1a42249a82d138df (patch) | |
tree | dda6ad363b327a800c2697e5d297bc3355bff034 /Documentation/user | |
parent | 99d6e2a65cc122b9b850657855d5abb6ff978810 (diff) | |
download | barebox-89dae91a4a72079f5b2adaff1a42249a82d138df.tar.gz barebox-89dae91a4a72079f5b2adaff1a42249a82d138df.tar.xz |
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>
Diffstat (limited to 'Documentation/user')
-rw-r--r-- | Documentation/user/state.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/user/state.rst b/Documentation/user/state.rst index 843705bdb6..89129add77 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>; |