diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-09-01 08:06:59 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-09-01 08:07:04 +0200 |
commit | 35eb06510b89870dba03022b2d2d681e0578c68c (patch) | |
tree | 889cced72e55deedcda7c1b926082b55c6d42d2a /Documentation/devicetree | |
parent | 3f68a7698d882f1e1ce5827fac92736e19f76018 (diff) | |
download | barebox-35eb06510b89870dba03022b2d2d681e0578c68c.tar.gz barebox-35eb06510b89870dba03022b2d2d681e0578c68c.tar.xz |
of_path: Allow pointing directly to the partition
We could only point to partitions in the device tree by using
&norflash, "partname:barebox-environment". Allow to point to the
partition directly without having to parse the partition labels.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/barebox/barebox,environment.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/barebox/barebox,environment.rst b/Documentation/devicetree/bindings/barebox/barebox,environment.rst index d472f66398..d5e52ead04 100644 --- a/Documentation/devicetree/bindings/barebox/barebox,environment.rst +++ b/Documentation/devicetree/bindings/barebox/barebox,environment.rst @@ -8,8 +8,9 @@ Required properties: * ``compatible``: should be ``barebox,environment`` * ``device-path``: path to the environment -The device-path is a multistring property. The first string should be a -nodepath to the node containing the physical device of the environment. +The device-path is a multistring property. The first string should contain +a nodepath to the node containing the physical device of the environment or +a nodepath to a partition described by the OF partition binding. The subsequent strings are of the form <type>:<options> to further describe the path to the environment. Supported values for <type>: |