Re: [PATCH v5] mtd: nand: Use standard large page OOB layout when using NAND_ECC_NONE

2017-09-22 Thread Boris Brezillon
On Sat, 26 Aug 2017 17:19:15 +0200 Miquel Raynal wrote: > Use the core's large page OOB layout functions when not reserving any > space for ECC bytes in the OOB layout. Fix ->nand_ooblayout_ecc_lp() > to return -ERANGE instead of a zero length in this case. > Applied. Thanks, Boris > Signed-

[PATCH v5] mtd: nand: Use standard large page OOB layout when using NAND_ECC_NONE

2017-08-26 Thread Miquel Raynal
Use the core's large page OOB layout functions when not reserving any space for ECC bytes in the OOB layout. Fix ->nand_ooblayout_ecc_lp() to return -ERANGE instead of a zero length in this case. Signed-off-by: Miquel Raynal --- drivers/mtd/nand/nand_base.c | 15 ++- 1 file changed,