[PATCH 0/6] mtd: spi-nor: introduce die erase

Tudor Ambarus tudor.ambarus at linaro.org
Wed Nov 1 02:43:19 PDT 2023


The patch set is just compiled tested as I don't have a multi die flash
at hand. Takahiro and Fabio, please test the series and let me know if
it works on your side.

This will be followed by the removal of SNOR_F_NO_OP_CHIP_ERASE and
implicitly of the old xilinx SPI NOR driver, but let's take it all in
small bites.

Fabio Estevam (1):
  mtd: spi-nor: micron-st: Add support for mt25qu01g

Tudor Ambarus (5):
  mtd: spi-nor: use kernel sized types instead of c99 types
  mtd: spi-nor: add erase die (chip) capability
  mtd: spi-nor: spansion: enable die erase for multi die flashes
  mtd: spi-nor: micron-st: use die erase for multi die flashes
  mtd: spi-nor: remove NO_CHIP_ERASE flag

 drivers/mtd/spi-nor/atmel.c     | 16 +++++------
 drivers/mtd/spi-nor/core.c      | 30 ++++++++++++++-------
 drivers/mtd/spi-nor/core.h      | 20 +++++++-------
 drivers/mtd/spi-nor/debugfs.c   |  2 +-
 drivers/mtd/spi-nor/micron-st.c | 47 ++++++++++++++++++++++++++++++---
 drivers/mtd/spi-nor/spansion.c  |  4 +--
 drivers/mtd/spi-nor/sst.c       |  6 ++---
 drivers/mtd/spi-nor/swp.c       | 25 +++++++++---------
 8 files changed, 99 insertions(+), 51 deletions(-)

-- 
2.34.1




More information about the linux-mtd mailing list