summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mtd/mtd-physmap.txt
diff options
context:
space:
mode:
authorJamie Lentin <jm@lentin.co.uk>2012-03-27 22:54:15 +0100
committerGrant Likely <grant.likely@secretlab.ca>2012-03-28 17:07:30 -0600
commit83619ea08e9abe0f5ebcfc569a829d1105a1685e (patch)
treeae0f5b603d7055b6d300c3227466001b60e48502 /Documentation/devicetree/bindings/mtd/mtd-physmap.txt
parent735e941caa9a35f933297af0ab1e0ad6447411c4 (diff)
downloadblackbird-obmc-linux-83619ea08e9abe0f5ebcfc569a829d1105a1685e.tar.gz
blackbird-obmc-linux-83619ea08e9abe0f5ebcfc569a829d1105a1685e.zip
mtd: Move fdt partition documentation to a seperate file
Partitions are described in the same way for all mtd devices when using devicetree, move the documentation to a separate file and add references to it. Signed-off-by: Jamie Lentin <jm@lentin.co.uk> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation/devicetree/bindings/mtd/mtd-physmap.txt')
-rw-r--r--Documentation/devicetree/bindings/mtd/mtd-physmap.txt23
1 files changed, 2 insertions, 21 deletions
diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.txt b/Documentation/devicetree/bindings/mtd/mtd-physmap.txt
index 80152cb567d9..a63c2bd7de2b 100644
--- a/Documentation/devicetree/bindings/mtd/mtd-physmap.txt
+++ b/Documentation/devicetree/bindings/mtd/mtd-physmap.txt
@@ -23,27 +23,8 @@ are defined:
- vendor-id : Contains the flash chip's vendor id (1 byte).
- device-id : Contains the flash chip's device id (1 byte).
-In addition to the information on the mtd bank itself, the
-device tree may optionally contain additional information
-describing partitions of the address space. This can be
-used on platforms which have strong conventions about which
-portions of a flash are used for what purposes, but which don't
-use an on-flash partition table such as RedBoot.
-
-Each partition is represented as a sub-node of the mtd device.
-Each node's name represents the name of the corresponding
-partition of the mtd device.
-
-Flash partitions
- - reg : The partition's offset and size within the mtd bank.
- - label : (optional) The label / name for this partition.
- If omitted, the label is taken from the node name (excluding
- the unit address).
- - read-only : (optional) This parameter, if present, is a hint to
- Linux that this 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.
+The device tree may optionally contain sub-nodes describing partitions of the
+address space. See partition.txt for more detail.
Example:
OpenPOWER on IntegriCloud