summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/bbt.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mtd: nand: Fix memory allocation in nanddev_bbt_init()Frieder Schrempf2018-11-281-1/+2
| | | | | | | | | | | | Fix the size of the buffer allocated to store the in-memory BBT. This bug was previously hidden by a different bug, that was fixed in commit d098093ba06e ("mtd: nand: Fix nanddev_neraseblocks()"). Fixes: 9c3736a3de21 ("mtd: nand: Add core infrastructure to deal with NAND devices") Cc: <stable@vger.kernel.org> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
* mtd: nand: Add core infrastructure to deal with NAND devicesBoris Brezillon2018-02-161-0/+130
Add an intermediate layer to abstract NAND device interface so that some logic can be shared between SPI NANDs, parallel/raw NANDs, OneNANDs, ... Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>