linux-stable/drivers/mtd/spi-nor
Michael Walle b9ee2a910d mtd: spi-nor: atmel: fix unlock_all() for AT25FS010/040
[ Upstream commit 8c174d1511 ]

These flashes have some weird BP bits mapping which aren't supported in
the current locking code. Just add a simple unlock op to unprotect the
entire flash array which is needed for legacy behavior.

Fixes: 3e0930f109 ("mtd: spi-nor: Rework the disabling of block write protection")
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20201203162959.29589-7-michael@walle.cc
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:41 +01:00
..
controllers mtd: spi-nor: intel-spi: Add support for Intel Alder Lake-S SPI serial flash 2020-09-29 18:46:20 +05:30
atmel.c mtd: spi-nor: atmel: fix unlock_all() for AT25FS010/040 2020-12-30 11:53:41 +01:00
catalyst.c mtd: spi-nor: Move Catalyst bits out of core.c 2020-03-17 09:28:05 +02:00
core.c mtd: spi-nor: atmel: fix unlock_all() for AT25FS010/040 2020-12-30 11:53:41 +01:00
core.h mtd: spi-nor: atmel: fix unlock_all() for AT25FS010/040 2020-12-30 11:53:41 +01:00
eon.c mtd: spi-nor: Move Eon bits out of core.c 2020-03-17 09:28:02 +02:00
esmt.c mtd: spi-nor: Move ESMT bits out of core.c 2020-03-17 09:28:02 +02:00
everspin.c mtd: spi-nor: Move Everspin bits out of core.c 2020-03-17 09:28:03 +02:00
fujitsu.c mtd: spi-nor: Move Fujitsu bits out of core.c 2020-03-17 09:28:03 +02:00
gigadevice.c mtd: spi-nor: Trim what is exposed in spi-nor.h 2020-03-17 09:28:07 +02:00
intel.c mtd: spi-nor: Move Intel bits out of core.c 2020-03-17 09:28:03 +02:00
issi.c mtd: spi-nor: Trim what is exposed in spi-nor.h 2020-03-17 09:28:07 +02:00
Kconfig mtd: spi-nor: Fix SPI NOR acronym 2020-05-28 10:46:23 +03:00
macronix.c mtd: spi-nor: macronix: Add SECT_4K to mx25l12805d 2020-09-29 18:44:27 +05:30
Makefile mtd: spi-nor: Compile files in controllers/ directory 2020-04-09 22:00:13 +02:00
micron-st.c mtd: spi-nor: micron: Add SPI_NOR_DUAL_READ flag on mt25qu02g 2020-07-27 08:37:06 +03:00
sfdp.c mtd: spi-nor: sfdp: do not make invalid quad enable fatal 2020-07-13 10:43:19 +03:00
sfdp.h mtd: spi-nor: winbond: Fix 4-byte opcode support for w25q256 2020-05-31 08:34:16 +03:00
spansion.c mtd: spi-nor: update read capabilities for w25q64 and s25fl064k 2020-07-27 09:03:32 +03:00
sst.c mtd: spi-nor: sst: fix BPn bits for the SST25VF064C 2020-12-30 11:53:40 +01:00
winbond.c mtd: spi-nor: winbond: Add support for w25q64jwm 2020-09-29 18:47:11 +05:30
xilinx.c mtd: spi-nor: Trim what is exposed in spi-nor.h 2020-03-17 09:28:07 +02:00
xmc.c mtd: spi-nor: Move XMC bits out of core.c 2020-03-17 09:28:06 +02:00