lede/target/linux/generic/backport-6.12/411-v6.14-mtd-spinand-add-W25N01GWZEIG-support.patch
2025-05-26 22:34:17 +08:00

13 lines
553 B
Diff

--- a/drivers/mtd/nand/raw/nand_ids.c
+++ b/drivers/mtd/nand/raw/nand_ids.c
@@ -67,6 +67,9 @@ struct nand_flash_dev nand_flash_ids[] =
{"TH58NVG3S0HBAI4 8G 3.3V 8-bit",
{ .id = {0x98, 0xd3, 0x91, 0x26, 0x76} },
SZ_4K, SZ_1K, SZ_256K, 0, 5, 256, NAND_ECC_INFO(8, SZ_512)},
+ {"W25N01GWZEIG SPI NAND 1G 1.8V",
+ { .id = {0xef, 0xba} },
+ SZ_2K, SZ_128, SZ_128K, 0, 2, 64, NAND_ECC_INFO(4, SZ_512)},
LEGACY_ID_NAND("NAND 4MiB 5V 8-bit", 0x6B, 4, SZ_8K, SP_OPTIONS),
LEGACY_ID_NAND("NAND 4MiB 3,3V 8-bit", 0xE3, 4, SZ_8K, SP_OPTIONS),