summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/nand_legacy.c
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2021-05-05 23:37:39 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-05-26 10:43:50 +0200
commit45606518f961b9e7adddc017e7813fa9f92b43fb (patch)
tree0f74a64abde89083cf47fb09b40c240374120a14 /drivers/mtd/nand/raw/nand_legacy.c
parent94c8ce8e3e96f549ff16381e82974c0af012a7f8 (diff)
mtd: rawnand: Add onfi_fill_nvddr_interface_config() helper
Same logic as for the SDR path, let's create a onfi_fill_nvddr_interface_config() helper to fill an interface configuration structure with NV-DDR timings, given a specific ONFI mode. There is one additional thing to do compared to SDR mode: tCAD timing can be fast or slow and this depends on an ONFI parameter page bit. By default the slow value is declared in the timings structure definition, but this helper can shrink it down if necessary. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210505213750.257417-12-miquel.raynal@bootlin.com
Diffstat (limited to 'drivers/mtd/nand/raw/nand_legacy.c')
0 files changed, 0 insertions, 0 deletions