[PATCH v7 0/2] Add support for micron SPI NAND MT29F2G01AAAED

From: Thirumalesha Narasimhappa
Date: Sun Nov 08 2020 - 06:37:51 EST


Adding support for Micron SPI NAND MT29F2G01AAAED device and generalised
the structure names as per the review comments

v7: Reverted to the v4 except ECC structure related changes

v6: Reverted the SPINAND_OP_VARIANTS() as they were in v4 for
MT29F2G01AAAED device

v5: As per the review comments, the changes were reverted to the v2,
except the MT29F2G01AAAED device related (including the review comments)

v4: Split patch into two parts,
1. Generalise the oob structure name & function names as show in v3
2. Add support for MT29F2G01AAAED device
a. Add oob section check in micron_ooblayout_free function
b. Rename mt29f2g01aaaed_* to generic name micron_4_*

v3: As per the review comments,
1. Renamed read_cache_variants as quadio_read_cache_variants,
write_cache_variants as
x4_write_cache_variants/x1_write_cache_variants,
update_cache_variants as
x4_update_cache_variants/x1_update_cache_variants,
read_cache_variants as x4_read_cache_variants
2. Renamed micron_8_ooblayout as micron_grouped_ooblayout &
mt29f2g01aaaed_ooblayout as
micron_interleaved_ooblayout
3. Generalized page size based oob section check in
mt29f2g01aaaed_ooblayout_ecc function
and separate case check for two bytes BBM reserved in
mt29f2g01aaaed_ooblayout_free function
4. Removed mt29f2g01aaaed_ecc_get_status function &
MICRON_STATUS_ECC_1TO4_BITFLIPS

v2: Removed SPINAND_SELECT_TARGET as per the comments & fixed typo
errors

v1: Add support for Micron SPI Nand device MT29F2G01AAAED

Thirumalesha Narasimhappa (2):
mtd: spinand: micron: Generalize the structure names
mtd: spinand: micron: Add support for MT29F2G01AAAED

drivers/mtd/nand/spi/micron.c | 124 ++++++++++++++++++++++++++--------
1 file changed, 94 insertions(+), 30 deletions(-)

--
2.25.1