Skip to content

mtd: spi-nor: add Global Block Unlock support

[email protected] linux-mtd lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mtd: spi-nor: add Global Block Unlock supportdrivers/mtd/spi-nor/spi-nor.c include/linux/mtd/spi-nor.h+47 -10 replies
2/2mtd: spi-nor: unlock global block protection on sst26vf064bdrivers/mtd/spi-nor/spi-nor.c+3 -10 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] mtd: spi-nor: add Global Block Unlock support

From: Tudor Ambarus <[email protected]>

This is similar with what other nor flashes are doing by clearing the block protection bits from the status register: disable the write protection after a power-on reset cycle.

The Global Block-Protection Unlock command offers a single command cycle that unlocks the entire memory array. Prefer this method for higher throughput.

Tested on the sst26vf064b flash using the atmel-quadspi driver.

Tudor Ambarus (2):
mtd: spi-nor: add Global Block Unlock support
mtd: spi-nor: unlock global block protection on sst26vf064b

 drivers/mtd/spi-nor/spi-nor.c | 51 +++++++++++++++++++++++++++++++++++++++++--
 include/linux/mtd/spi-nor.h   |  1 +
 2 files changed, 50 insertions(+), 2 deletions(-)
Signature · 1 line
2.9.5