diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-09-22 22:11:50 +0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-09-22 22:29:57 +0400 |
commit | 57a94e24bc927f642f7f48ca1bf5476aa5be269d (patch) | |
tree | 15c21381e30271c677de35583c0032ad4b8bbc05 /drivers/mtd/tests/mtd_test.h | |
parent | e5bffb59cfbb3371ff00a165a5a48c1f3fdf125a (diff) | |
download | linux-57a94e24bc927f642f7f48ca1bf5476aa5be269d.tar.xz |
mtd: nand: support ONFI timing mode retrieval for non-ONFI NANDs
Add an onfi_timing_mode_default field to nand_chip and nand_flash_dev in
order to support NAND timings definition for non-ONFI NAND.
NAND that support better timings mode than the default one have to define
a new entry in the nand_ids table.
The default timing mode should be deduced from timings description from
the datasheet and the ONFI specification
(www.onfi.org/~/media/ONFI/specs/onfi_3_1_spec.pdf, chapter 4.15
"Timing Parameters").
You should choose the closest mode that fit the timings requirements of
your NAND chip.
Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/tests/mtd_test.h')
0 files changed, 0 insertions, 0 deletions