mtd: nand: tmio: Register partitions using the parsers
authorAndrea Adami <andrea.adami@gmail.com>
Mon, 14 Aug 2017 20:48:36 +0000 (22:48 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:33 +0000 (16:49 +0200)
commit311bba10cb0e232f2f9b0bace8bec873d7dc32a7
tree762db808c007e9c8fd612dbb48bb379beee28318
parent827dba9d626325a65727c4074913b2d3c7e7ea4d
mtd: nand: tmio: Register partitions using the parsers

With the introduction of sharpslpart partition parser we can now read the
offsets from NAND: we specify the list of the parsers as platform data, with
cmdlinepart and ofpart parsers first allowing to override the part. table
written in NAND. This is done in the board files using this driver.

Use now these parsers.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/tmio_nand.c