diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-07-20 09:53:33 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2018-07-23 17:39:42 +0200 |
commit | 203b400ee24ef11153651b6c4580896a99de412e (patch) | |
tree | 37a25538875b4dd8f359986d0c4941bd764c765e /Documentation/driver-api | |
parent | timekeeping.txt: Correct maxCount of n-bit binary counter (diff) | |
download | linux-203b400ee24ef11153651b6c4580896a99de412e.tar.xz linux-203b400ee24ef11153651b6c4580896a99de412e.zip |
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. - NAND_ECC_HW8_512 - Hardware ECC generator providing 6 bytes ECC per 512 byte. + Hardware ECC generator providing 8 bytes ECC per 512 byte. If your hardware generator has a different functionality add it at the appropriate place in nand_base.c @@ -889,7 +889,7 @@ Use these constants to select the ECC algorithm:: #define NAND_ECC_HW3_512 3 /* Hardware ECC 6 byte ECC per 512 Byte data */ #define NAND_ECC_HW6_512 4 - /* Hardware ECC 6 byte ECC per 512 Byte data */ + /* Hardware ECC 8 byte ECC per 512 Byte data */ #define NAND_ECC_HW8_512 6 |