mbox series

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

Message ID cover.1680760742.git.Takahiro.Kuwano@infineon.com
Headers show
Series mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon SEMPER flash | expand

Message

Takahiro Kuwano April 6, 2023, 6:17 a.m. UTC
From: Takahiro Kuwano <Takahiro.Kuwano@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(-)

Comments

Tudor Ambarus April 8, 2023, 6:42 a.m. UTC | #1
On Thu, 06 Apr 2023 15:17:43 +0900, tkuw584924@gmail.com wrote:
> 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
> 
> [...]

Applied to git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git,
spi-nor/next branch. Thanks!

[1/3] mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s28hx SEMPER flash
      https://git.kernel.org/mtd/c/9fd0945fe6fa
[2/3] mtd: spi-nor: spansion: Enable JFFS2 write buffer for Infineon s25hx SEMPER flash
      https://git.kernel.org/mtd/c/4199c1719e24
[3/3] mtd: spi-nor: spansion: Enable JFFS2 write buffer for S25FS256T
      https://git.kernel.org/mtd/c/a9180c298d35

Cheers,