We support bch16_hw in the OMAP NAND driver, but we cannot show it in
the eccmode parameter. Add the missing string.

Signed-off-by: Sascha Hauer <[email protected]>
---
 drivers/mtd/nand/nand_omap_gpmc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/nand/nand_omap_gpmc.c 
b/drivers/mtd/nand/nand_omap_gpmc.c
index 670eba4206..d51a8a8a9e 100644
--- a/drivers/mtd/nand/nand_omap_gpmc.c
+++ b/drivers/mtd/nand/nand_omap_gpmc.c
@@ -102,6 +102,7 @@ static const char *ecc_mode_strings[] = {
        "hamming_hw_romcode",
        "bch8_hw",
        "bch8_hw_romcode",
+       "bch16_hw",
 };
 
 /** internal structure maintained for nand information */
-- 
2.20.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to