developer | 41370d5 | 2022-03-16 16:01:59 +0800 | [diff] [blame] | 1 | From 8511a3a9937e30949b34bea46c3dc3f65d11034b Mon Sep 17 00:00:00 2001 |
| 2 | From: Shivamurthy Shastri <sshivamurthy@micron.com> |
| 3 | Date: Wed, 11 Mar 2020 18:57:31 +0100 |
| 4 | Subject: [PATCH] mtd: spinand: micron: Describe the SPI NAND device |
| 5 | MT29F2G01ABAGD |
| 6 | |
| 7 | Add the SPI NAND device MT29F2G01ABAGD series number, size and voltage |
| 8 | details as a comment. |
| 9 | |
| 10 | Signed-off-by: Shivamurthy Shastri <sshivamurthy@micron.com> |
| 11 | Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> |
| 12 | Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> |
| 13 | Link: 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 | |
| 18 | diff --git a/drivers/mtd/nand/spi/micron.c b/drivers/mtd/nand/spi/micron.c |
| 19 | index 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), |