aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorVitaly Wool <vitalywool@gmail.com>2006-12-19 10:44:25 -0500
committerPaul Mackerras <paulus@samba.org>2006-12-20 00:37:48 -0500
commit173935f3619ae99fef0cea1dbe4de9c83d6c8e72 (patch)
tree581b9f4fb84cddbd1cd999c3e893f2473d912cc8 /Documentation
parent3f245e2a1eaf603cf9cf4820eb5dd8c5637bc71a (diff)
[POWERPC] Update MTD OF documentation
This updates the Documentation/powerpc part of the MTD OF implementation with the new field probe-type. Its support has already been implemented in MTD part (drivers/mtd/maps/physmap_of.c). Signed-off-by: Vitaly Wool <vwool@ru.mvista.com> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/powerpc/booting-without-of.txt19
1 files changed, 11 insertions, 8 deletions
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index b3bd36668db3..33994271cb3b 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -1703,29 +1703,32 @@ platforms are moved over to use the flattened-device-tree model.
1703 Required properties: 1703 Required properties:
1704 1704
1705 - device_type : has to be "rom" 1705 - device_type : has to be "rom"
1706 - compatible : Should specify what this ROM device is compatible with 1706 - compatible : Should specify what this flash device is compatible with.
1707 (i.e. "onenand"). Currently, this is most likely to be "direct-mapped" 1707 Currently, this is most likely to be "direct-mapped" (which
1708 (which corresponds to the MTD physmap mapping driver). 1708 corresponds to the MTD physmap mapping driver).
1709 - regs : Offset and length of the register set (or memory mapping) for 1709 - reg : Offset and length of the register set (or memory mapping) for
1710 the device. 1710 the device.
1711 - bank-width : Width of the flash data bus in bytes. Required
1712 for the NOR flashes (compatible == "direct-mapped" and others) ONLY.
1711 1713
1712 Recommended properties : 1714 Recommended properties :
1713 1715
1714 - bank-width : Width of the flash data bus in bytes. Required
1715 for the NOR flashes (compatible == "direct-mapped" and others) ONLY.
1716 - partitions : Several pairs of 32-bit values where the first value is 1716 - partitions : Several pairs of 32-bit values where the first value is
1717 partition's offset from the start of the device and the second one is 1717 partition's offset from the start of the device and the second one is
1718 partition size in bytes with LSB used to signify a read only 1718 partition size in bytes with LSB used to signify a read only
1719 partititon (so, the parition size should always be an even number). 1719 partition (so, the parition size should always be an even number).
1720 - partition-names : The list of concatenated zero terminated strings 1720 - partition-names : The list of concatenated zero terminated strings
1721 representing the partition names. 1721 representing the partition names.
1722 - probe-type : The type of probe which should be done for the chip
1723 (JEDEC vs CFI actually). Valid ONLY for NOR flashes.
1722 1724
1723 Example: 1725 Example:
1724 1726
1725 flash@ff000000 { 1727 flash@ff000000 {
1726 device_type = "rom"; 1728 device_type = "rom";
1727 compatible = "direct-mapped"; 1729 compatible = "direct-mapped";
1728 regs = <ff000000 01000000>; 1730 probe-type = "CFI";
1731 reg = <ff000000 01000000>;
1729 bank-width = <4>; 1732 bank-width = <4>;
1730 partitions = <00000000 00f80000 1733 partitions = <00000000 00f80000
1731 00f80000 00080001>; 1734 00f80000 00080001>;