Commit 2da45b8f authored by Miquel Raynal's avatar Miquel Raynal

mtd: rawnand: Add a kernel doc to the ECC algorithm enumeration

Before moving it to the generic raw NAND core, ensure the enumeration
is properly described.
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200827085208.16276-2-miquel.raynal@bootlin.com
parent d012a719
......@@ -92,6 +92,13 @@ enum nand_ecc_mode {
NAND_ECC_ON_DIE,
};
/**
* enum nand_ecc_algo - NAND ECC algorithm
* @NAND_ECC_UNKNOWN: Unknown algorithm
* @NAND_ECC_HAMMING: Hamming algorithm
* @NAND_ECC_BCH: Bose-Chaudhuri-Hocquenghem algorithm
* @NAND_ECC_RS: Reed-Solomon algorithm
*/
enum nand_ecc_algo {
NAND_ECC_UNKNOWN,
NAND_ECC_HAMMING,
......
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