mtd: nand: atmel: Add ->setup_data_interface() hooks
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 16 Mar 2017 08:35:59 +0000 (09:35 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 1 Jun 2017 08:09:29 +0000 (10:09 +0200)
commitf9ce2eddf1769a2cf93e87332c55063537e69119
tree08817554ed27b9ae4195a8ce0da594938f6b3353
parent104e442a67cfba4d0cc982384761befb917fb6a1
mtd: nand: atmel: Add ->setup_data_interface() hooks

The NAND controller IP can adapt the NAND controller timings dynamically.
Implement the ->setup_data_interface() hook to support this feature.

Note that it's not supported on at91rm9200 because this SoC has a
completely different SMC block, which is not supported yet.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/atmel/nand-controller.c