[PATCH v4 21/52] mtd: nand: implement the default mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the default nand_ecclayout definitions for large and small page devices with the equivalent mtd_ooblayout_ops. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 148 --- include/linux/mtd/nand.h

[PATCH v4 21/52] mtd: nand: implement the default mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the default nand_ecclayout definitions for large and small page devices with the equivalent mtd_ooblayout_ops. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 148 --- include/linux/mtd/nand.h | 3 + 2 files changed, 99