Skip to content

Commit

Permalink
mtd: nand: atmel: Add ->setup_data_interface() hooks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Boris Brezillon committed Jun 1, 2017
1 parent 104e442 commit f9ce2ed
Show file tree
Hide file tree
Showing 2 changed files with 328 additions and 2 deletions.
1 change: 1 addition & 0 deletions drivers/mtd/nand/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ config MTD_NAND_CS553X
config MTD_NAND_ATMEL
tristate "Support for NAND Flash / SmartMedia on AT91"
depends on ARCH_AT91
select MFD_ATMEL_SMC
help
Enables support for NAND Flash / Smart Media Card interface
on Atmel AT91 processors.
Expand Down
Loading

0 comments on commit f9ce2ed

Please sign in to comment.