Commit 203b400e authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Jonathan Corbet

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: default avatarMarcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 9e7c758e
...@@ -374,7 +374,7 @@ The nand driver supports three different types of hardware ECC. ...@@ -374,7 +374,7 @@ The nand driver supports three different types of hardware ECC.
- NAND_ECC_HW8_512 - 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 If your hardware generator has a different functionality add it at the
appropriate place in nand_base.c appropriate place in nand_base.c
...@@ -889,7 +889,7 @@ Use these constants to select the ECC algorithm:: ...@@ -889,7 +889,7 @@ Use these constants to select the ECC algorithm::
#define NAND_ECC_HW3_512 3 #define NAND_ECC_HW3_512 3
/* Hardware ECC 6 byte ECC per 512 Byte data */ /* Hardware ECC 6 byte ECC per 512 Byte data */
#define NAND_ECC_HW6_512 4 #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 #define NAND_ECC_HW8_512 6
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment