All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] mtd: spi-nor: core: set mtd->eraseregions for non-uniform erase map
@ 2024-02-20  8:34 tkuw584924
  2024-02-20  8:34 ` [PATCH v4 1/4] mtd: spi-nor: core: rework struct spi_nor_erase_region tkuw584924
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: tkuw584924 @ 2024-02-20  8:34 UTC (permalink / raw)
  To: linux-mtd
  Cc: tudor.ambarus, pratyush, mwalle, miquel.raynal, richard, vigneshr,
	tkuw584924, Bacem.Daassi, Takahiro Kuwano

From: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>

In v4, split two flags removement into separated patches. Reworked
spi_nor_init_erase_cmd() to use n_regions in outer loop.

In v3, reworked to remove LAST_REGION and OVERLAID_REGION flags. Updated
and tested debugfs.

In v2, reworked spi_nor_erase_region to stop bitmask encoding in offset.
And added n_regions member to spi_nor_erase_map.

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

 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 +++------
 4 files changed, 128 insertions(+), 162 deletions(-)

-- 
2.34.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-02-26 11:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-20  8:34 [PATCH v4 0/4] mtd: spi-nor: core: set mtd->eraseregions for non-uniform erase map tkuw584924
2024-02-20  8:34 ` [PATCH v4 1/4] mtd: spi-nor: core: rework struct spi_nor_erase_region tkuw584924
2024-02-23 10:14   ` Michael Walle
2024-02-23 10:17     ` Tudor Ambarus
2024-02-20  8:34 ` [PATCH v4 2/4] mtd: spi-nor: core: get rid of SNOR_LAST_REGION flag tkuw584924
2024-02-23 10:17   ` Michael Walle
2024-02-26 11:15   ` Tudor Ambarus
2024-02-20  8:34 ` [PATCH v4 3/4] mtd: spi-nor: core: get rid of SNOR_OVERLAID_REGION flag tkuw584924
2024-02-23 10:19   ` Michael Walle
2024-02-20  8:34 ` [PATCH v4 4/4] mtd: spi-nor: core: set mtd->eraseregions for non-uniform erase map tkuw584924
2024-02-23 10:21   ` Michael Walle
2024-02-22  9:16 ` [PATCH v4 0/4] " Tudor Ambarus
2024-02-22 10:26   ` Takahiro Kuwano
2024-02-26  9:02 ` Tudor Ambarus
2024-02-26 11:36 ` Tudor Ambarus

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.