]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2051211a35cc4748440a0782b765a84e3b61fc3f
tree08817554ed27b9ae4195a8ce0da594938f6b3353
parentd5b8fb66f040808a549c4fb583f7ef1772fa1b63
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