mtd: rawnand: fsl_elbc: convert driver to nand_scan()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 25 Jul 2018 08:37:40 +0000 (10:37 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 31 Jul 2018 07:45:57 +0000 (09:45 +0200)
commit5bf3e76b0abf6f527ae2223a308b7decebcdd23e
tree550f3bae6bb598fda605d432809a4d7eaba26824
parent99dc9d95ec5a20dddb9f4462d576c63bfc06d8ad
mtd: rawnand: fsl_elbc: 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>
Notes:
    "pw 947037"
drivers/mtd/nand/raw/fsl_elbc_nand.c