summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/raw/nand_jedec.c
Commit message (Collapse)AuthorAgeFilesLines
* mtd: rawnand: Fix JEDEC detectionBoris Brezillon2018-12-141-0/+2
| | | | | | | | | | | | nand_jedec_detect() should return 1 when the PARAM page parsing succeeds, otherwise the core considers JEDEC detection failed and falls back to ID-based detection. Fixes: 480139d9229e ("mtd: rawnand: get rid of the JEDEC parameter page in nand_chip") Cc: <stable@vger.kernel.org> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Acked-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
* mtd: rawnand: Move JEDEC code to nand_jedec.cBoris Brezillon2018-10-031-0/+113
This moves JEDEC related code to nand_jedec.c and JEDEC related struct/macros to include/linux/mtd/jedec.h. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
OpenPOWER on IntegriCloud