[PATCH v2] docs: mention the correct default values for the 'backend-storage-type'
Juergen Borleis
jbe at pengutronix.de
Wed Aug 23 03:19:39 PDT 2017
Different memory types defaults to different backend storage types.
Signed-off-by: Juergen Borleis <jbe at pengutronix.de>
---
Documentation/devicetree/bindings/barebox/barebox,state.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/barebox/barebox,state.rst b/Documentation/devicetree/bindings/barebox/barebox,state.rst
index 4b1aade66..f6adf8466 100644
--- a/Documentation/devicetree/bindings/barebox/barebox,state.rst
+++ b/Documentation/devicetree/bindings/barebox/barebox,state.rst
@@ -49,7 +49,8 @@ Optional Properties
* ``backend-stridesize``: stride counted in bytes. See note below.
* ``backend-storage-type``: Defines the backend storage type to ``direct`` or
- ``circular``. Defaults to ``circular`` for media which requires erase cycles.
+ ``circular``. Defaults to ``direct`` for media which don't require erase cycles,
+ and to ``circular`` for media which require erase cycles.
* ``algo``: A HMAC algorithm used to detect manipulation of the data
or header, sensible values follow this pattern ``hmac(<HASH>)``,
e.g. ``hmac(sha256)``. Only available for the ``backend-type`` ``raw``.
--
2.11.0
More information about the barebox
mailing list