[PATCH v3 0/2] mtd: spi-nor: core: set mtd->eraseregions for non-uniform erase map
tkuw584924 at gmail.com
tkuw584924 at gmail.com
Mon Feb 5 20:37:24 PST 2024
From: Takahiro Kuwano <Takahiro.Kuwano at infineon.com>
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.
*** BLURB HERE ***
Takahiro Kuwano (2):
Subject: [PATCH] mtd: spi-nor: core: rework erase map and erase region
structures
mtd: spi-nor: core: set mtd->eraseregions for non-uniform erase map
drivers/mtd/spi-nor/core.c | 109 ++++++++++++++++++++++++----------
drivers/mtd/spi-nor/core.h | 31 ++++------
drivers/mtd/spi-nor/debugfs.c | 18 +++---
drivers/mtd/spi-nor/sfdp.c | 42 +++++--------
4 files changed, 112 insertions(+), 88 deletions(-)
--
2.34.1
More information about the linux-mtd
mailing list