[PATCH v2 0/4] mtd: spi-nor: Fix software reset; add mx66lm1g45g

Tudor Ambarus
2021-11-03T23:50:24Z

Add support for mx66lm1g45g:
- Introduce SPI_NOR_SOFT_RESET flash_info flag -> the flash does not
define the SFDP tables and can't determine its reset sequence on its
own.
- Fix the opcode extension for the software reset sequence -> it
was hardcoded.

Changes in v2: revert soft reset on boot.

Tudor Ambarus (4):
mtd: spi-nor-core: Introduce SPI_NOR_SOFT_RESET flash_info flag
mtd: spi-nor-core: macronix: Add support for mx66lm1g45g
Revert "mtd: spi-nor-core: Perform a Soft Reset on boot"
mtd: spi-nor-core: Fix the opcode extension for the software reset
sequence

drivers/mtd/spi/Kconfig | 17 +++--
drivers/mtd/spi/sf_internal.h | 5 ++
drivers/mtd/spi/spi-nor-core.c | 116 +++++++++++++++++++++++----------
drivers/mtd/spi/spi-nor-ids.c | 6 ++
include/linux/mtd/spi-nor.h | 8 +++
5 files changed, 107 insertions(+), 45 deletions(-)

--
2.25.1