[PATCH v6 0/7] mtd: spi-nor: Prepare core and add support for mx66lm1g45g

From: Tudor Ambarus
Date: Wed Feb 09 2022 - 08:37:40 EST


Hi,

I've made some core work as a prerequisite for mx66lm1g45g addition.
I've cleaned the RDID op and the flash detection. I introduced
SPI_NOR_READID_OP to ease the spi_mem_op filling. I would like to
follow the idea and introduce macros for all the SPI NOR ops, but
after we'll integrate Michael's SR patches.

Cheers,
ta

v6: complete rework

Tudor Ambarus (7):
mtd: spi-nor: Rename method, s/spi_nor_match_id/spi_nor_match_name
mtd: spi-nor: Introduce spi_nor_match_id()
mtd: spi-nor: core: Use auto-detection only once
mtd: spi-nor: core: Introduce method for RDID op
mtd: spi-nor: manufacturers: Use spi_nor_read_id() core method
mtd: spi-nor: core: Introduce SPI_NOR_SOFT_RESET flash_info fixup_flag
mtd: spi-nor: macronix: Add support for mx66lm1g45g

drivers/mtd/spi-nor/core.c | 115 +++++++++++++++++-----------
drivers/mtd/spi-nor/core.h | 14 ++++
drivers/mtd/spi-nor/macronix.c | 131 ++++++++++++++++++++++++++++++++
drivers/mtd/spi-nor/micron-st.c | 13 +---
drivers/mtd/spi-nor/spansion.c | 13 +---
5 files changed, 221 insertions(+), 65 deletions(-)

--
2.25.1