[PATCH v7 0/7] mtd: spi-nor: keep lock bits if they are non-volatile

From: Michael Walle
Date: Wed Dec 02 2020 - 18:01:56 EST


I bundled this as a series, because otherwise there will be conflicts
because the "remove global protection flag" patches modify the same lines
as the main patch.

There are now two more patches:
mtd: spi-nor: sst: fix BPn bits for the SST25VF064C
mtd: spi-nor: ignore errors in spi_nor_unlock_all()
Both are fixes and are first in this series. This will ensure that they
even have a chance to apply cleanly to the stable trees as the following
patches touches the same lines.

See invdividual patches for the version history.

Michael Walle (7):
mtd: spi-nor: sst: fix BPn bits for the SST25VF064C
mtd: spi-nor: ignore errors in spi_nor_unlock_all()
mtd: spi-nor: atmel: remove global protection flag
mtd: spi-nor: sst: remove global protection flag
mtd: spi-nor: intel: remove global protection flag
mtd: spi-nor: atmel: fix unlock_all() for AT25FS010/040
mtd: spi-nor: keep lock bits if they are non-volatile

drivers/mtd/spi-nor/Kconfig | 44 +++++++++
drivers/mtd/spi-nor/atmel.c | 191 ++++++++++++++++++++++++++++++++----
drivers/mtd/spi-nor/core.c | 46 ++++++---
drivers/mtd/spi-nor/core.h | 9 ++
drivers/mtd/spi-nor/esmt.c | 2 +-
drivers/mtd/spi-nor/intel.c | 19 ++--
drivers/mtd/spi-nor/sst.c | 32 +++---
7 files changed, 279 insertions(+), 64 deletions(-)

--
2.20.1