summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2014-07-11 09:49:42 +0200
committerBrian Norris <computersforpeace@gmail.com>2014-07-21 19:39:55 -0700
commit974647ea8a13021a91d558df61d598bcabf73439 (patch)
tree048aa97d3cd850a79c047eb63b34d9abf3551cbf /include
parentbb5fd0b6daaf0da0b1e78c699b8582984373d3f4 (diff)
downloadlinux-974647ea8a13021a91d558df61d598bcabf73439.tar.gz
linux-974647ea8a13021a91d558df61d598bcabf73439.tar.bz2
linux-974647ea8a13021a91d558df61d598bcabf73439.zip
mtd: nand: add ONFI timing mode to nand_timings converter
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 <boris.brezillon@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/nand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index cdda207c16e1..3083c53e0270 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -997,4 +997,7 @@ struct nand_sdr_timings {
u32 tWP_min;
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 */