blob: 31141db92b4242d1a8acb15eb46e8bc88888f3ed [file] [log] [blame]
developer41370d52022-03-16 16:01:59 +08001From 8511a3a9937e30949b34bea46c3dc3f65d11034b Mon Sep 17 00:00:00 2001
2From: Shivamurthy Shastri <sshivamurthy@micron.com>
3Date: Wed, 11 Mar 2020 18:57:31 +0100
4Subject: [PATCH] mtd: spinand: micron: Describe the SPI NAND device
5 MT29F2G01ABAGD
6
7Add the SPI NAND device MT29F2G01ABAGD series number, size and voltage
8details as a comment.
9
10Signed-off-by: Shivamurthy Shastri <sshivamurthy@micron.com>
11Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
12Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
13Link: https://lore.kernel.org/linux-mtd/20200311175735.2007-3-sshivamurthy@micron.com
14---
15 drivers/mtd/nand/spi/micron.c | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/drivers/mtd/nand/spi/micron.c b/drivers/mtd/nand/spi/micron.c
19index cc1ee68421c8e1..4727933c894bc8 100644
20--- a/drivers/mtd/nand/spi/micron.c
21+++ b/drivers/mtd/nand/spi/micron.c
22@@ -91,6 +91,7 @@ static int micron_8_ecc_get_status(struct spinand_device *spinand,
23 }
24
25 static const struct spinand_info micron_spinand_table[] = {
26+ /* M79A 2Gb 3.3V */
27 SPINAND_INFO("MT29F2G01ABAGD",
28 SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x24),
29 NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 2, 1, 1),