OSDN Git Service

mtd: nand: sunxi: Set serial access mode correctly
authorRoy Spliet <r.spliet@ultimaker.com>
Fri, 26 Jun 2015 09:00:11 +0000 (11:00 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 20 Jul 2015 17:45:53 +0000 (10:45 -0700)
commitd052e508a4069f0711ea68156f4b1565bf14c41c
treeac298d86ef0e68d48ddff22982c8835b0327560b
parent9c618292dba6aa9b82e8a2e4e6fe70f54bd87a81
mtd: nand: sunxi: Set serial access mode correctly

Replaces the hard coded "always use EDO" policy with that prescribed
by the ONFI 3.1 specification that EDO mode should always be used if tRC
is below 30ns.

Signed-off-by: Roy Spliet <r.spliet@ultimaker.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/sunxi_nand.c