handle RDCR opcode for Macronix
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mtd: spi-nor: add configurable RDCR opcodedrivers/ drivers/ | +13 | 0 replies | |
| 2/2 | mtd: spi-nor: macronix: use RDCR opcode 0x15drivers/ include/ | +4 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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.
Signed-off-by Maarten Zanders <[email protected]>
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