[PATCH v2 0/2] mtd: spi-nor: core: set mtd->eraseregions for
tkuw584924 at gmail.com
tkuw584924 at gmail.com
Tue Jan 23 00:13:23 PST 2024
From: Takahiro Kuwano <Takahiro.Kuwano at infineon.com>
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 (2):
mtd: spi-nor: core: rework struct spi_nor_erase_region
mtd: spi-nor: core: set mtd->eraseregions for non-uniform erase map
drivers/mtd/spi-nor/core.c | 94 +++++++++++++++++++++++++++++---------
drivers/mtd/spi-nor/core.h | 30 +++++-------
drivers/mtd/spi-nor/sfdp.c | 31 ++++++-------
3 files changed, 98 insertions(+), 57 deletions(-)
--
2.34.1
More information about the linux-mtd
mailing list