[PATCH v3 0/3] mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon SEMPER flash

tkuw584924 at gmail.com tkuw584924 at gmail.com
Wed Apr 5 23:17:43 PDT 2023


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

Infineon(Cypress) SEMPER NOR flash family has on-die ECC and its program
granularity is 16-byte ECC data unit size. JFFS2 supports write buffer
mode for ECC'd NOR flash. To activate it, MTD_BIT_WRITEABLE needs to be
unset in mtd->flags. In this series, a new SNOR_F_ECC flag is introduced
and fixups for SEMPER flash pats set it.

Changes in v3
  - Split to three patches

Changes in v2
  - Introduce SNOR_F_ECC flag
  - Add fixes tag and Cc stable

Takahiro Kuwano (3):
  mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s28hx
    SEMPER flash
  mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s25hx
    SEMPER flash
  mtd: spi-nor: spansion: Enable JFFS2 write buffer for S25FS256T

 drivers/mtd/spi-nor/core.c     |  3 +++
 drivers/mtd/spi-nor/core.h     |  1 +
 drivers/mtd/spi-nor/debugfs.c  |  1 +
 drivers/mtd/spi-nor/spansion.c | 28 +++++++++++++++-------------
 4 files changed, 20 insertions(+), 13 deletions(-)

-- 
2.34.1




More information about the linux-mtd mailing list