aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2018-06-24 23:27:22 +0200
committerMiquel Raynal <[email protected]>2018-07-02 09:01:41 +0200
commitf308d7353d1f5c3ddedc784a367edc72fc51bbaa (patch)
tree2a2ef32716ef30020ca9bef81787fe1f44e81048 /include
parent16c4fba03a45ac8c6048a96e02abc933e1354852 (diff)
mtd: rawnand: add Reed-Solomon error correction algorithm
Add Reed-Solomon (RS) to the enumeration of ECC algorithms. Signed-off-by: Stefan Agner <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/rawnand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h
index 3e8ec3b8a39c..2d9cb7acbc3d 100644
--- a/include/linux/mtd/rawnand.h
+++ b/include/linux/mtd/rawnand.h
@@ -121,6 +121,7 @@ enum nand_ecc_algo {
NAND_ECC_UNKNOWN,
NAND_ECC_HAMMING,
NAND_ECC_BCH,
+ NAND_ECC_RS,
};
/*