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

Tudor Ambarus tudor.ambarus at microchip.com
Tue Sep 29 05:59:48 EDT 2020


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




More information about the linux-mtd mailing list