mbox series

[v4,0/3] mtd: spinand: add SPI-NAND MTD resume handler

Message ID 20210528141639.3194-1-patrice.chotard@foss.st.com
Headers show
Series mtd: spinand: add SPI-NAND MTD resume handler | expand

Message

Patrice CHOTARD May 28, 2021, 2:16 p.m. UTC
From: Patrice Chotard <patrice.chotard@foss.st.com>

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_init_flash() helper
  mtd: spinand: add spinand_read_cfg() helper
  mtd: spinand: add SPI-NAND MTD resume handler

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