]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: fsmc: convert driver to nand_scan()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 20 Jul 2018 15:14:59 +0000 (17:14 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 31 Jul 2018 07:45:57 +0000 (09:45 +0200)
commitc6781af725bc47d8ca1ca642055e41e9d7624bae
tree4a9d51376ae224bcaee22c57d349284e61442513
parentfa7c0c2b15b869d117b8970225edefb75eb1c710
mtd: rawnand: fsmc: 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>
drivers/mtd/nand/raw/fsmc_nand.c