diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-mtd | 2 | ||||
-rw-r--r-- | Documentation/DocBook/mtdnand.tmpl | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/mtd/gpmc-nand.txt | 16 |
3 files changed, 11 insertions, 9 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-mtd b/Documentation/ABI/testing/sysfs-class-mtd index bfd119ace6ad..1399bb2da3eb 100644 --- a/Documentation/ABI/testing/sysfs-class-mtd +++ b/Documentation/ABI/testing/sysfs-class-mtd | |||
@@ -104,7 +104,7 @@ Description: | |||
104 | One of the following ASCII strings, representing the device | 104 | One of the following ASCII strings, representing the device |
105 | type: | 105 | type: |
106 | 106 | ||
107 | absent, ram, rom, nor, nand, dataflash, ubi, unknown | 107 | absent, ram, rom, nor, nand, mlc-nand, dataflash, ubi, unknown |
108 | 108 | ||
109 | What: /sys/class/mtd/mtdX/writesize | 109 | What: /sys/class/mtd/mtdX/writesize |
110 | Date: April 2009 | 110 | Date: April 2009 |
diff --git a/Documentation/DocBook/mtdnand.tmpl b/Documentation/DocBook/mtdnand.tmpl index a248f42a121e..cd11926e07c7 100644 --- a/Documentation/DocBook/mtdnand.tmpl +++ b/Documentation/DocBook/mtdnand.tmpl | |||
@@ -1222,8 +1222,6 @@ in this page</entry> | |||
1222 | #define NAND_BBT_VERSION 0x00000100 | 1222 | #define NAND_BBT_VERSION 0x00000100 |
1223 | /* Create a bbt if none axists */ | 1223 | /* Create a bbt if none axists */ |
1224 | #define NAND_BBT_CREATE 0x00000200 | 1224 | #define NAND_BBT_CREATE 0x00000200 |
1225 | /* Search good / bad pattern through all pages of a block */ | ||
1226 | #define NAND_BBT_SCANALLPAGES 0x00000400 | ||
1227 | /* Write bbt if neccecary */ | 1225 | /* Write bbt if neccecary */ |
1228 | #define NAND_BBT_WRITE 0x00001000 | 1226 | #define NAND_BBT_WRITE 0x00001000 |
1229 | /* Read and write back block contents when writing bbt */ | 1227 | /* Read and write back block contents when writing bbt */ |
diff --git a/Documentation/devicetree/bindings/mtd/gpmc-nand.txt b/Documentation/devicetree/bindings/mtd/gpmc-nand.txt index df338cb5059c..5e1f31b5ff70 100644 --- a/Documentation/devicetree/bindings/mtd/gpmc-nand.txt +++ b/Documentation/devicetree/bindings/mtd/gpmc-nand.txt | |||
@@ -22,10 +22,10 @@ Optional properties: | |||
22 | width of 8 is assumed. | 22 | width of 8 is assumed. |
23 | 23 | ||
24 | - ti,nand-ecc-opt: A string setting the ECC layout to use. One of: | 24 | - ti,nand-ecc-opt: A string setting the ECC layout to use. One of: |
25 | 25 | "sw" <deprecated> use "ham1" instead | |
26 | "sw" Software method (default) | 26 | "hw" <deprecated> use "ham1" instead |
27 | "hw" Hardware method | 27 | "hw-romcode" <deprecated> use "ham1" instead |
28 | "hw-romcode" gpmc hamming mode method & romcode layout | 28 | "ham1" 1-bit Hamming ecc code |
29 | "bch4" 4-bit BCH ecc code | 29 | "bch4" 4-bit BCH ecc code |
30 | "bch8" 8-bit BCH ecc code | 30 | "bch8" 8-bit BCH ecc code |
31 | 31 | ||
@@ -36,8 +36,12 @@ Optional properties: | |||
36 | "prefetch-dma" Prefetch enabled sDMA mode | 36 | "prefetch-dma" Prefetch enabled sDMA mode |
37 | "prefetch-irq" Prefetch enabled irq mode | 37 | "prefetch-irq" Prefetch enabled irq mode |
38 | 38 | ||
39 | - elm_id: Specifies elm device node. This is required to support BCH | 39 | - elm_id: <deprecated> use "ti,elm-id" instead |
40 | error correction using ELM module. | 40 | - ti,elm-id: Specifies phandle of the ELM devicetree node. |
41 | ELM is an on-chip hardware engine on TI SoC which is used for | ||
42 | locating ECC errors for BCHx algorithms. SoC devices which have | ||
43 | ELM hardware engines should specify this device node in .dtsi | ||
44 | Using ELM for ECC error correction frees some CPU cycles. | ||
41 | 45 | ||
42 | For inline partiton table parsing (optional): | 46 | For inline partiton table parsing (optional): |
43 | 47 | ||