]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: atmel: convert driver to nand_scan()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 25 Jul 2018 13:31:41 +0000 (15:31 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 31 Jul 2018 07:46:09 +0000 (09:46 +0200)
commit5c7e13394803aa6414a5b6ed0becdc65ec4a563b
tree9ebc735e41e2f563a8ede81f45107e9abaa6a9f6
parent786c9f1d69e65689737d23a6b70fd7f38a589294
mtd: rawnand: atmel: 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/atmel/nand-controller.c