]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: Introduce nand_data_interface
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 21 Nov 2017 17:38:16 +0000 (02:38 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 28 Nov 2017 15:28:57 +0000 (00:28 +0900)
commit01042499b8856564d019bfa647c8f1d703ac8f24
tree5c3c695f672bcf850895dde9e93ae9d02f821e37
parent1728eb577dc1de459196ca45068f3feced77a198
mtd: nand: Introduce nand_data_interface

Currently we have no data structure to fully describe a NAND timing.
We only have struct nand_sdr_timings for NAND timings in SDR mode,
but nothing for DDR mode and also no container to store both types
of timing.
This patch adds struct nand_data_interface which stores the timing
type and a union of different timings. This can be used to pass to
drivers in order to configure the timing.
Add kerneldoc for struct nand_sdr_timings while touching it anyway.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[Linux commit: eee64b700e26b9bcc6fce024681c31f5e12271fc]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/linux/mtd/nand.h