OpenCloudOS-Kernel/drivers/mtd/nand
Miquel Raynal d1bfe1e319 mtd: rawnand: timings: Use default values for tPROG_max and tBERS_max
The ONFI parameter page of a chip might define more fine grained
tPROG_max and tBERS_max. When we do not have this information, we
default to the highest possible values (they are maxima anyway).

There is no point setting these fields at runtime, so explicitly move
these defaults to the main ONFI SDR timings structure. This way, we
will also be able to return a pointer to mode 0 directly when we will
create a default reset configuration.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200529111322.7184-18-miquel.raynal@bootlin.com
2020-06-26 08:35:06 +02:00
..
onenand mtd: nand: Drop useless 'depends on' in Kconfig 2020-06-26 08:35:03 +02:00
raw mtd: rawnand: timings: Use default values for tPROG_max and tBERS_max 2020-06-26 08:35:06 +02:00
spi mtd: spinand: Propagate ECC information to the MTD structure 2020-05-18 22:02:05 +02:00
Kconfig mtd: nand: Add an extra level in the Kconfig hierarchy 2020-06-26 08:35:03 +02:00
Makefile mtd: nand: Add core infrastructure to support SPI NANDs 2018-07-18 09:24:10 +02:00
bbt.c mtd: nand: Fix memory allocation in nanddev_bbt_init() 2018-11-28 15:41:50 +01:00
core.c mtd: nand: Add max_bad_eraseblocks_per_lun info to memorg 2019-04-08 10:21:08 +02:00