Skip to content

mtd: spi-nor: sfdp: Introduce SFDP_DWORD() macro

[email protected] linux-mtd stable 2 versions – Applied

Status from this message: Applied to spi-nor/next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesApplied
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Add cc: stable to 1/3 patch
- Add Suggested-by: tag to 2/3 and 3/3 patches
- Update commit description in 2/3 patch

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3mtd: spi-nor: sfdp: Fix index value for SCCR dwordsdrivers/mtd/spi-nor/sfdp.c+1 -11 reply
2/3mtd: spi-nor: sfdp: Rename BFPT_DWORD() macro to SFDP_DWORD()drivers/mtd/spi-nor/issi.c drivers/mtd/spi-nor/macronix.c drivers/mtd/spi-nor/sfdp.c +1 more+28 -291 reply
3/3mtd: spi-nor: sfdp: Use SFDP_DWORD() macro for optional parameter tablesdrivers/mtd/spi-nor/sfdp.c+16 -121 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMichael WallePratyush Yadav
1/3R-b R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] mtd: spi-nor: sfdp: Introduce SFDP_DWORD() macro

From: Takahiro Kuwano <[email protected]>

Existing BFPT_DWORD() converts 1-based indexing to 0-based indexing for C arrays, and is used in BFPT parse. This is applicable to other parameter tables than BFPT.

Based on a suggestion in:
https://patchwork.ozlabs.org/project/linux-mtd/patch/[email protected]/

Confirmed all parameter tables described in JESD216F.02 use the same (1-based) indexing.

Tested with S25HS01GT and S28HS01GT.

---
Changes in v2:
- Add cc: stable to 1/3 patch
- Add Suggested-by: tag to 2/3 and 3/3 patches
- Update commit description in 2/3 patch

Takahiro Kuwano (3):
mtd: spi-nor: sfdp: Fix index value for SCCR dwords
mtd: spi-nor: sfdp: Rename BFPT_DWORD() macro to SFDP_DWORD()
mtd: spi-nor: sfdp: Use SFDP_DWORD() macro for optional parameter
tables

 drivers/mtd/spi-nor/issi.c     |  2 +-
 drivers/mtd/spi-nor/macronix.c |  2 +-
 drivers/mtd/spi-nor/sfdp.c     | 72 ++++++++++++++++++----------------
 drivers/mtd/spi-nor/sfdp.h     |  9 ++---
 4 files changed, 44 insertions(+), 41 deletions(-)
Signature · 6 lines
2.25.1


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