]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: spinand: micron: Add new Micron SPI NAND devices
authorShivamurthy Shastri <sshivamurthy@micron.com>
Tue, 7 Jul 2020 20:04:10 +0000 (22:04 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 20 Jul 2020 16:58:09 +0000 (22:28 +0530)
Add device table for M79A and M78A series Micron SPI NAND devices.

Signed-off-by: Shivamurthy Shastri <sshivamurthy@micron.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/nand/spi/micron.c

index 93b0e2c07e799a756bac7feb348ede74228422b7..c58082c16c3cb8e7348ed52dcd51773c87d5c4bb 100644 (file)
@@ -105,6 +105,36 @@ static const struct spinand_info micron_spinand_table[] = {
                     0,
                     SPINAND_ECCINFO(&micron_8_ooblayout,
                                     micron_8_ecc_get_status)),
+       /* M79A 2Gb 1.8V */
+       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(&micron_8_ooblayout,
+                                    micron_8_ecc_get_status)),
+       /* M78A 1Gb 3.3V */
+       SPINAND_INFO("MT29F1G01ABAFD", 0x14,
+                    NAND_MEMORG(1, 2048, 128, 64, 1024, 1, 1, 1),
+                    NAND_ECCREQ(8, 512),
+                    SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
+                                             &write_cache_variants,
+                                             &update_cache_variants),
+                    0,
+                    SPINAND_ECCINFO(&micron_8_ooblayout,
+                                    micron_8_ecc_get_status)),
+       /* M78A 1Gb 1.8V */
+       SPINAND_INFO("MT29F1G01ABAFD", 0x15,
+                    NAND_MEMORG(1, 2048, 128, 64, 1024, 1, 1, 1),
+                    NAND_ECCREQ(8, 512),
+                    SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
+                                             &write_cache_variants,
+                                             &update_cache_variants),
+                    0,
+                    SPINAND_ECCINFO(&micron_8_ooblayout,
+                                    micron_8_ecc_get_status)),
 };
 
 static int micron_spinand_detect(struct spinand_device *spinand)