OSDN Git Service

mtd: rawnand: vf610: convert driver to nand_scan()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 20 Jul 2018 15:15:17 +0000 (17:15 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 31 Jul 2018 07:46:04 +0000 (09:46 +0200)
commit962c35ef1e68346ae9c9691e14670f0ee96dcdbd
tree92aee3cde7292dcdd80e2b2bfbddbf79f83699b3
parenta001058a9aa291ee85ba5454891aa947658ae694
mtd: rawnand: vf610: convert driver to nand_scan()

Two helpers have been added to the core to do all kind of controller
side configuration/initialization between the detection phase and the
final NAND scan. Implement these hooks so that we can convert the driver
to just use nand_scan() instead of the nand_scan_ident() +
nand_scan_tail() pair.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
drivers/mtd/nand/raw/vf610_nfc.c