acrn-kernel/drivers/mtd/spi-nor
Tudor Ambarus 75386810d3 mtd: spi-nor: sst: Add support for Global Unlock on sst26vf
Even if sst26vf shares the SPINOR_OP_GBULK opcode with
Macronix (ex. MX25U12835F) and Winbound (ex. W25Q128FV),
it has its own Individual Block Protection scheme, which
is also capable to read-lock individual parameter blocks.
Thus the sst26vf's Individual Block Protection scheme will
reside in the sst.c manufacturer driver.

Add support to unlock the entire flash memory. The device
is write-protected by default after a power-on reset cycle
(volatile software protection), in order to avoid inadvertent
writes during power-up. Could do an erase, write, read back,
and compare when MTD_SPI_NOR_SWP_DISABLE_ON_VOLATILE=y.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210121110546.382633-2-tudor.ambarus@microchip.com
2021-02-05 15:24:59 +02:00
..
controllers mtd: spi-nor: hisi-sfc: Put child node np on error path 2021-01-23 14:49:52 +02:00
Kconfig
Makefile
atmel.c
catalyst.c
core.c mtd: spi-nor: sst: Add support for Global Unlock on sst26vf 2021-02-05 15:24:59 +02:00
core.h mtd: spi-nor: sst: Add support for Global Unlock on sst26vf 2021-02-05 15:24:59 +02:00
eon.c
esmt.c
everspin.c
fujitsu.c
gigadevice.c
intel.c
issi.c
macronix.c
micron-st.c
sfdp.c mtd: spi-nor: sfdp: Fix last erase region marking 2021-02-05 15:05:10 +02:00
sfdp.h
spansion.c
sst.c mtd: spi-nor: sst: Add support for Global Unlock on sst26vf 2021-02-05 15:24:59 +02:00
winbond.c
xilinx.c
xmc.c