Skip to content

handle RDCR opcode for Macronix

Maarten Zanders linux-mtd lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mtd: spi-nor: add configurable RDCR opcodedrivers/mtd/spi-nor/core.c drivers/mtd/spi-nor/core.h+13 -50 replies
2/2mtd: spi-nor: macronix: use RDCR opcode 0x15drivers/mtd/spi-nor/macronix.c include/linux/mtd/spi-nor.h+4 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] handle RDCR opcode for Macronix

This series introduces a configurable RDCR (Read Configuration Register) opcode for spi-nor flashes and applies a fix for Macronix devices.

Patch 1 adds a new flash parameter to hold the RDCR opcode, defaulting to 0x35 (JEDEC standard).

Patch 2 applies a Macronix-specific fixup, setting the RDCR opcode to 0x15.

Maarten Zanders (2):
mtd: spi-nor: add configurable RDCR opcode
mtd: spi-nor: macronix: use RDCR opcode 0x15

 drivers/mtd/spi-nor/core.c     | 12 +++++++++---
 drivers/mtd/spi-nor/core.h     |  6 ++++--
 drivers/mtd/spi-nor/macronix.c |  1 +
 include/linux/mtd/spi-nor.h    |  3 +++
 4 files changed, 17 insertions(+), 5 deletions(-)

base-commit: 4550d33e18112a11a740424c4eec063cd58e918c

Signature · 1 line
2.51.0