[PATCH v5 0/3] mtd: spinand: add SPI-NAND MTD resume handler

From: patrice.chotard
Date: Wed Jun 02 2021 - 05:50:26 EST


From: Patrice Chotard <patrice.chotard@xxxxxxxxxxx>

Changes in v5:
- spinand_init_cfg_cache() only allocates spinand->cfg_cache array,
spinand_read_cfg() is called directly in spinand_init().

Changes in v4:
- Add spinand_init_flash helper()
- Remove no more needed spinand_block_unlock() helper introduced in v2

Changes in v3:
- Add spinand_read_cfg() helper
- Add spinand_read_cfg() call to repopulate cache during resume
- Split v2 patch in 3 patches

Changes in v2:
- Add helper spinand_block_unlock().
- Add spinand_ecc_enable() call.
- Remove some dev_err().
- Fix commit's title and message.

Patrice Chotard (3):
mtd: spinand: add spinand_read_cfg() helper
mtd: spinand: Add spinand_init_flash() helper
mtd: spinand: add SPI-NAND MTD resume handler

drivers/mtd/nand/spi/core.c | 112 +++++++++++++++++++++++++-----------
1 file changed, 78 insertions(+), 34 deletions(-)

--
2.17.1