Skip to content

Commit ae461cd

Browse files
chbgdnmiquelraynal
authored andcommitted
mtd: spinand: add support for FORESEE F35SQA001G
Add support for FORESEE F35SQA001G SPI NAND. Similar to F35SQA002G, but differs in capacity. Datasheet: - https://cdn.ozdisan.com/ETicaret_Dosya/704795_871495.pdf Tested on Xiaomi AX3000T flashed with OpenWRT. Signed-off-by: Bohdan Chubuk <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
1 parent ef73c7d commit ae461cd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

drivers/mtd/nand/spi/foresee.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ static const struct spinand_info foresee_spinand_table[] = {
8181
SPINAND_HAS_QE_BIT,
8282
SPINAND_ECCINFO(&f35sqa002g_ooblayout,
8383
f35sqa002g_ecc_get_status)),
84+
SPINAND_INFO("F35SQA001G",
85+
SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x71, 0x71),
86+
NAND_MEMORG(1, 2048, 64, 64, 1024, 20, 1, 1, 1),
87+
NAND_ECCREQ(1, 512),
88+
SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
89+
&write_cache_variants,
90+
&update_cache_variants),
91+
SPINAND_HAS_QE_BIT,
92+
SPINAND_ECCINFO(&f35sqa002g_ooblayout,
93+
f35sqa002g_ecc_get_status)),
8494
};
8595

8696
static const struct spinand_manufacturer_ops foresee_spinand_manuf_ops = {

0 commit comments

Comments
 (0)