[PATCH 2/2] mtd: spinand: winbond: add support for W25N01G
Zunyi Hu
roberhu001 at 163.com
Fri Jun 5 17:23:47 CEST 2026
Add device ID and geometry parameters for the Winbond W25N01G
1G-bit SPI NAND flash memory.
Signed-off-by: Zunyi Hu <roberhu001 at 163.com>
---
drivers/mtd/nand/spi/winbond.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/mtd/nand/spi/winbond.c b/drivers/mtd/nand/spi/winbond.c
index c119486efb7..78584e5a1e2 100644
--- a/drivers/mtd/nand/spi/winbond.c
+++ b/drivers/mtd/nand/spi/winbond.c
@@ -96,6 +96,14 @@ static const struct spinand_info winbond_spinand_table[] = {
&update_cache_variants),
0,
SPINAND_ECCINFO(&w25m02gv_ooblayout, NULL)),
+ SPINAND_INFO("W25N01G", 0xAA,
+ NAND_MEMORG(1, 2048, 64, 64, 1024, 1, 1, 1),
+ NAND_ECCREQ(1, 512),
+ SPINAND_INFO_OP_VARIANTS(&read_cache_variants,
+ &write_cache_variants,
+ &update_cache_variants),
+ 0,
+ SPINAND_ECCINFO(&w25m02gv_ooblayout, NULL)),
};
/**
--
2.17.1
More information about the U-Boot
mailing list