mtd: nand: Add a few more timings to nand_sdr_timings
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Sat, 1 Oct 2016 08:24:02 +0000 (10:24 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 7 Nov 2016 13:48:37 +0000 (14:48 +0100)
commit204e7ecd47e26cc12d9e8e8a7e7a2eeb9573f0ba
tree250451c9c3bbef4ee13484003854a8bcb546d7d6
parent1c825ad1b8cfe12ccc145dcdba360c52c0272c04
mtd: nand: Add a few more timings to nand_sdr_timings

Add the tR_max, tBERS_max, tPROG_max and tCCS_min timings to the
nand_sdr_timings struct.
Assign default/safe values for the statically defined timings, and
extract them from the ONFI parameter table if the NAND is ONFI
compliant.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
drivers/mtd/nand/nand_timings.c
include/linux/mtd/nand.h