[GIT PULL] mtd: spi-nor: changes for v6.9

Tudor Ambarus tudor.ambarus at linaro.org
Thu Feb 29 06:15:34 PST 2024


Hi!

Here is the SPI NOR PR for v6.9.

Thanks,
ta

The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

  Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
tags/spi-nor/for-6.9

for you to fetch changes up to 6a9eda34418fc4dc05c2a7d6741c475e287d418c:

  mtd: spi-nor: core: set mtd->eraseregions for non-uniform erase map
(2024-02-26 13:29:09 +0200)

----------------------------------------------------------------
SPI NOR gets the non uniform erase code cleaned. We stopped using
bitmasks for erase types and flags, and instead introduced dedicated
members. We then passed the SPI NOR erase map to MTD. Users can now
determine the erase regions and make informed decisions on partitions
size.

----------------------------------------------------------------
Josua Mayer (1):
      dt-bindings: mtd: spi-nor: add optional interrupts property

Takahiro Kuwano (4):
      mtd: spi-nor: core: rework struct spi_nor_erase_region
      mtd: spi-nor: core: get rid of SNOR_LAST_REGION flag
      mtd: spi-nor: core: get rid of SNOR_OVERLAID_REGION flag
      mtd: spi-nor: core: set mtd->eraseregions for non-uniform erase map

 Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml |   3 +
 drivers/mtd/spi-nor/core.c                               | 187
++++++++++++++----------------
 drivers/mtd/spi-nor/core.h                               |  30 ++---
 drivers/mtd/spi-nor/debugfs.c                            |  26 ++---
 drivers/mtd/spi-nor/sfdp.c                               |  47 +++-----
 5 files changed, 128 insertions(+), 165 deletions(-)



More information about the linux-mtd mailing list