[RFC PATCH 0/3] mtd: spi-nor: Tackle stateful modes

From: Tudor Ambarus
Date: Tue Sep 29 2020 - 05:59:57 EST


My biggest concern with Pratyush's patches is that the stateful modes case
(X-X-X modes that are entered via a non-volatile bit) is not handled.
This is an attempt to tackle this problem. Reasons and explanations in
the commit messages.

Tudor Ambarus (3):
mtd: spi-nor: Introduce SNOR_F_IO_MODE_EN_VOLATILE
mtd: spi-nor: Introduce MTD_SPI_NOR_ALLOW_STATEFUL_MODES
mtd: spi-nor: Parse SFDP SCCR Map

drivers/mtd/spi-nor/Kconfig | 10 +++++++
drivers/mtd/spi-nor/core.c | 8 ++++++
drivers/mtd/spi-nor/core.h | 6 +++++
drivers/mtd/spi-nor/sfdp.c | 52 +++++++++++++++++++++++++++++++++++++
4 files changed, 76 insertions(+)

--
2.25.1