You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/ipq40xx/patches-4.14/085-mtd-nand-add-macronix-m...

14 lines
531 B
Diff

--- a/drivers/mtd/nand/nand_ids.c
+++ b/drivers/mtd/nand/nand_ids.c
@@ -54,6 +54,10 @@ struct nand_flash_dev nand_flash_ids[] =
{ .id = {0xad, 0xde, 0x94, 0xda, 0x74, 0xc4} },
SZ_8K, SZ_8K, SZ_2M, NAND_NEED_SCRAMBLING, 6, 640,
NAND_ECC_INFO(40, SZ_1K), 4 },
+ {"MX35LF1GE4AB 1G 3.3V 8-bit",
+ { .id = {0xc2, 0x12} },
+ SZ_2K, SZ_128, SZ_128K, NAND_NO_SUBPAGE_WRITE,
+ 2, 64, NAND_ECC_INFO(4, SZ_512) },
{"W25N01GV 1G 3.3V 8-bit",
{ .id = {0xef, 0xaa} },
SZ_2K, SZ_128, SZ_128K, NAND_NO_SUBPAGE_WRITE,