aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_base.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-09-15 10:32:53 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-09-23 09:35:16 +0200
commit8283079696aba905367297cf80287980eb34c14c (patch)
tree91de7344c62135abc3043f0e19b0b30d185957c9 /drivers/mtd/nand/nand_base.c
parentmtd: nand: mxc: implement onfi get/set features (diff)
downloadlinux-dev-8283079696aba905367297cf80287980eb34c14c.tar.xz
linux-dev-8283079696aba905367297cf80287980eb34c14c.zip
mtd: nand: mxc: Add timing setup for v2 controllers
So far we relied on reset default or the bootloader to configure a suitable clk rate for the Nand controller. This works but we can optimize the timing for better performance. This sets the clk rate for v2 controllers (i.MX25/35) based on the timing mode read from the ONFI parameter page. This may also enable the symmetric mode (aks EDO mode) if necessary which reads one word per clock cycle. Tested on an i.MX25 with a Micron MT29F4G08ABBDAHC attached. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
0 files changed, 0 insertions, 0 deletions