mtd: rawnand: timings: Add mode information to the timings structure
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 28 Apr 2020 09:42:54 +0000 (11:42 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 11 May 2020 07:51:40 +0000 (09:51 +0200)
commit83c411c29b90b7de505a2fe1d655293c95f8ba90
treeafe428543d61bd9ceaa2b9c327a11eaeaf68f189
parent1617942a813cd4dc152e2d955b2feabc4e192891
mtd: rawnand: timings: Add mode information to the timings structure

Convert the timings union into a structure containing the mode and the
actual values. The values are still a union in prevision of the
addition of the NVDDR modes.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200428094302.14624-2-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nand_timings.c
include/linux/mtd/rawnand.h