mtd: ofpart: document the lock flag.

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jan 12 15:59:01 PST 2016


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=89a41cbba6610b48e793ce6ac5bd46031c7531cc
Commit:     89a41cbba6610b48e793ce6ac5bd46031c7531cc
Parent:     f8479dd6a03cfdc3b14e742045bfd8748cd86bd7
Author:     Michal Suchanek <hramrach at gmail.com>
AuthorDate: Fri Oct 30 13:34:00 2015 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Nov 10 10:03:20 2015 -0800

    mtd: ofpart: document the lock flag.
    
    The lock flag of ofpart is undocumented. Add to binding doc.
    
    Signed-off-by: Michal Suchanek <hramrach at gmail.com>
    Cc: Sascha Hauer <s.hauer at pengutronix.de>
    Acked-by: Rob Herring <robh at kernel.org>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 Documentation/devicetree/bindings/mtd/partition.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/mtd/partition.txt b/Documentation/devicetree/bindings/mtd/partition.txt
index f1e2a02..8dc4bf9 100644
--- a/Documentation/devicetree/bindings/mtd/partition.txt
+++ b/Documentation/devicetree/bindings/mtd/partition.txt
@@ -30,6 +30,8 @@ Optional properties:
   partition should only be mounted read-only. This is usually used for flash
   partitions containing early-boot firmware images or data which should not be
   clobbered.
+- lock : Do not unlock the partition at initialization time (not supported on
+  all devices)
 
 Examples:
 



More information about the linux-mtd-cvs mailing list