diff options
| author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-07-20 03:53:33 -0400 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2018-07-23 11:39:42 -0400 |
| commit | 203b400ee24ef11153651b6c4580896a99de412e (patch) | |
| tree | 37a25538875b4dd8f359986d0c4941bd764c765e /Documentation/driver-api | |
| parent | 9e7c758ec4768cf47779dea3cc8452f871f8d07e (diff) | |
mtd: nand: correct documentation for NAND_ECC_HW8_512
The documentation for this parameter said "6 bytes" when "8 bytes" was
intended; correct it.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/driver-api')
| -rw-r--r-- | Documentation/driver-api/mtdnand.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/driver-api/mtdnand.rst b/Documentation/driver-api/mtdnand.rst index dcd63599f700..c55a6034c397 100644 --- a/Documentation/driver-api/mtdnand.rst +++ b/Documentation/driver-api/mtdnand.rst | |||
| @@ -374,7 +374,7 @@ The nand driver supports three different types of hardware ECC. | |||
| 374 | 374 | ||
| 375 | - NAND_ECC_HW8_512 | 375 | - NAND_ECC_HW8_512 |
| 376 | 376 | ||
| 377 | Hardware ECC generator providing 6 bytes ECC per 512 byte. | 377 | Hardware ECC generator providing 8 bytes ECC per 512 byte. |
| 378 | 378 | ||
| 379 | If your hardware generator has a different functionality add it at the | 379 | If your hardware generator has a different functionality add it at the |
| 380 | appropriate place in nand_base.c | 380 | appropriate place in nand_base.c |
| @@ -889,7 +889,7 @@ Use these constants to select the ECC algorithm:: | |||
| 889 | #define NAND_ECC_HW3_512 3 | 889 | #define NAND_ECC_HW3_512 3 |
| 890 | /* Hardware ECC 6 byte ECC per 512 Byte data */ | 890 | /* Hardware ECC 6 byte ECC per 512 Byte data */ |
| 891 | #define NAND_ECC_HW6_512 4 | 891 | #define NAND_ECC_HW6_512 4 |
| 892 | /* Hardware ECC 6 byte ECC per 512 Byte data */ | 892 | /* Hardware ECC 8 byte ECC per 512 Byte data */ |
| 893 | #define NAND_ECC_HW8_512 6 | 893 | #define NAND_ECC_HW8_512 6 |
| 894 | 894 | ||
| 895 | 895 | ||
