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

patrice.chotard at foss.st.com patrice.chotard at foss.st.com
Wed Jun 2 02:49:10 PDT 2021


From: Patrice Chotard <patrice.chotard at foss.st.com>

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




More information about the linux-arm-kernel mailing list