MLK-22556-5 mtd: nand-spi: Add micron chip MT29F2G01ABBGD
authorYe Li <ye.li@nxp.com>
Wed, 4 Sep 2019 09:51:15 +0000 (02:51 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 6 Sep 2019 01:54:33 +0000 (18:54 -0700)
Add the another 2Gb SPI-NAND flash which is 1.8v device and using
different device id.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/mtd/nand/spi/micron.c

index f6c87ca..b47107e 100644 (file)
@@ -128,6 +128,15 @@ static const struct spinand_info micron_spinand_table[] = {
                     0,
                     SPINAND_ECCINFO(&mt29f2g01abagd_ooblayout,
                                     mt29f2g01abagd_ecc_get_status)),
+       SPINAND_INFO("MT29F2G01ABBGD", 0x25,
+                    NAND_MEMORG(1, 2048, 128, 64, 2048, 2, 1, 1),
+                    NAND_ECCREQ(8, 512),
+                    SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
+                                             &write_cache_variants,
+                                             &update_cache_variants),
+                    0,
+                    SPINAND_ECCINFO(&mt29f2g01abagd_ooblayout,
+                                    mt29f2g01abagd_ecc_get_status)),
        SPINAND_INFO("MT29F4G01ADAGD", 0x32,
                         NAND_MEMORG(1, 2048, 128, 64, 2048, 2, 1, 2),
                         NAND_ECCREQ(8, 512),