On Thu, 21 Feb 2019 11:01:54 +0100 Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote: > These OOB layouts are generic to all NAND chips, the should not be > restricted to be used only by raw NAND controller drivers. They might > later be used by generic ECC engines and SPI-NAND devices as well. > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> > --- > drivers/mtd/nand/core.c | 161 ++++++++++++++++++++++++++++ Can we place those definitions in ecc.c instead of core.c > drivers/mtd/nand/raw/nand_base.c | 161 +--------------------------- > drivers/mtd/nand/raw/nand_toshiba.c | 2 + > include/linux/mtd/nand.h | 4 + > include/linux/mtd/rawnand.h | 3 - > 5 files changed, 168 insertions(+), 163 deletions(-) ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/