[PATCH] of_mtd: add soft_bch and hw_oob_first ecc modes

Raphaël Poggi poggi.raph at gmail.com
Fri Aug 1 06:26:43 PDT 2014


Signed-off-by: Raphaël Poggi <poggi.raph at gmail.com>
---
 drivers/of/of_mtd.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/of/of_mtd.c b/drivers/of/of_mtd.c
index 239f1f9..46eef67 100644
--- a/drivers/of/of_mtd.c
+++ b/drivers/of/of_mtd.c
@@ -20,6 +20,8 @@ static const char *nand_ecc_modes[] = {
 	[NAND_ECC_SOFT]		= "soft",
 	[NAND_ECC_HW]		= "hw",
 	[NAND_ECC_HW_SYNDROME]	= "hw_syndrome",
+	[NAND_ECC_HW_OOB_FIRST]	= "hw_oob_first",
+	[NAND_ECC_SOFT_BCH]		= "soft_bch",
 };
 
 /**
-- 
1.7.9.5




More information about the barebox mailing list