diff options
| author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-07-11 03:49:42 -0400 |
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2014-07-21 22:39:55 -0400 |
| commit | 974647ea8a13021a91d558df61d598bcabf73439 (patch) | |
| tree | 048aa97d3cd850a79c047eb63b34d9abf3551cbf /include/linux/mtd | |
| parent | bb5fd0b6daaf0da0b1e78c699b8582984373d3f4 (diff) | |
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/linux/mtd')
| -rw-r--r-- | include/linux/mtd/nand.h | 3 |
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 { | |||
| 997 | u32 tWP_min; | 997 | u32 tWP_min; |
| 998 | u32 tWW_min; | 998 | u32 tWW_min; |
| 999 | }; | 999 | }; |
| 1000 | |||
| 1001 | /* get timing characteristics from ONFI timing mode. */ | ||
| 1002 | const struct nand_sdr_timings *onfi_async_timing_mode_to_sdr_timings(int mode); | ||
| 1000 | #endif /* __LINUX_MTD_NAND_H */ | 1003 | #endif /* __LINUX_MTD_NAND_H */ |
