diff options
| author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-09-15 04:32:49 -0400 |
|---|---|---|
| committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-09-23 03:35:16 -0400 |
| commit | 6e1f9708dbf3c50a8da93c1952a01a7a2acb5e66 (patch) | |
| tree | c003fd93b979c2c2e372befee0cc07561251d6e3 /include/linux/mtd | |
| parent | b88730ada99bfe243862add360720a3550b0edbf (diff) | |
mtd: nand: Expose data interface for ONFI mode 0
The nand layer will need ONFI mode 0 to use it as timing mode
before and right after reset.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux/mtd')
| -rw-r--r-- | include/linux/mtd/nand.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 1f34c04fe16c..0c9412c2d80b 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h | |||
| @@ -1154,6 +1154,8 @@ static inline int jedec_feature(struct nand_chip *chip) | |||
| 1154 | 1154 | ||
| 1155 | /* get timing characteristics from ONFI timing mode. */ | 1155 | /* get timing characteristics from ONFI timing mode. */ |
| 1156 | const struct nand_sdr_timings *onfi_async_timing_mode_to_sdr_timings(int mode); | 1156 | const struct nand_sdr_timings *onfi_async_timing_mode_to_sdr_timings(int mode); |
| 1157 | /* get data interface from ONFI timing mode 0, used after reset. */ | ||
| 1158 | const struct nand_data_interface *nand_get_default_data_interface(void); | ||
| 1157 | 1159 | ||
| 1158 | int nand_check_erased_ecc_chunk(void *data, int datalen, | 1160 | int nand_check_erased_ecc_chunk(void *data, int datalen, |
| 1159 | void *ecc, int ecclen, | 1161 | void *ecc, int ecclen, |
