From cae9515d05b192637488bae455a1ed68206f64bd Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 11 Jul 2014 09:49:42 +0200 Subject: mtd: nand: add ONFI timing mode to nand_timings converter Ported from Linux commit 974647e: | Add a converter to retrieve NAND timings from an ONFI NAND timing mode. | At the moment, only SDR NAND timings are supported. | | Signed-off-by: Boris BREZILLON | Signed-off-by: Brian Norris Signed-off-by: Sascha Hauer --- include/linux/mtd/nand.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/linux') diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 5c237f0bd2..66c936ee70 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -791,4 +791,7 @@ struct nand_sdr_timings { u32 tWW_min; }; +/* get timing characteristics from ONFI timing mode. */ +const struct nand_sdr_timings *onfi_async_timing_mode_to_sdr_timings(int mode); + #endif /* __LINUX_MTD_NAND_H */ -- cgit v1.2.3