Skip to content

Commit a7e5dac

Browse files
shivamurthyshastrimiquelraynal
authored andcommitted
mtd: spinand: micron: Add M70A series Micron SPI NAND devices
Add device table for M70A series Micron SPI NAND devices. Signed-off-by: Shivamurthy Shastri <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 0bc68af commit a7e5dac

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

drivers/mtd/nand/spi/micron.c

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,28 @@ static const struct spinand_info micron_spinand_table[] = {
137137
0,
138138
SPINAND_ECCINFO(&micron_8_ooblayout,
139139
micron_8_ecc_get_status)),
140+
/* M70A 4Gb 3.3V */
141+
SPINAND_INFO("MT29F4G01ABAFD",
142+
SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x34),
143+
NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1),
144+
NAND_ECCREQ(8, 512),
145+
SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
146+
&write_cache_variants,
147+
&update_cache_variants),
148+
SPINAND_HAS_CR_FEAT_BIT,
149+
SPINAND_ECCINFO(&micron_8_ooblayout,
150+
micron_8_ecc_get_status)),
151+
/* M70A 4Gb 1.8V */
152+
SPINAND_INFO("MT29F4G01ABBFD",
153+
SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x35),
154+
NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1),
155+
NAND_ECCREQ(8, 512),
156+
SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
157+
&write_cache_variants,
158+
&update_cache_variants),
159+
SPINAND_HAS_CR_FEAT_BIT,
160+
SPINAND_ECCINFO(&micron_8_ooblayout,
161+
micron_8_ecc_get_status)),
140162
};
141163

142164
static int micron_spinand_init(struct spinand_device *spinand)

0 commit comments

Comments
 (0)