Re: [PATCH v2] mtd: nand: fix lack of oob layout when using no ecc

2017-07-18 Thread Boris Brezillon
On Mon, 10 Jul 2017 14:05:19 +0200 Miquel RAYNAL wrote: > Fix nand core lack of OOB layout when: > - the NFC driver does not provide any OOB layout, > - ECC operations are disabled (using NAND_ECC_NONE). > Using this configuration leads to a crash during the probe. > > Add layout functions for s

[PATCH v2] mtd: nand: fix lack of oob layout when using no ecc

2017-07-10 Thread Miquel RAYNAL
Fix nand core lack of OOB layout when: - the NFC driver does not provide any OOB layout, - ECC operations are disabled (using NAND_ECC_NONE). Using this configuration leads to a crash during the probe. Add layout functions for small and large pages with mainly free bytes plus reserved space for ba