summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2018-10-06 17:36:42 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-11-05 10:56:56 +0100
commit9a4d83074769d6ecf1f5c3fef0f183b09abf3726 (patch)
tree862773f337847f3526f0c286c21c99ba076fb356 /drivers/mtd/nand
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadblackbird-op-linux-9a4d83074769d6ecf1f5c3fef0f183b09abf3726.tar.gz
blackbird-op-linux-9a4d83074769d6ecf1f5c3fef0f183b09abf3726.zip
mtd: spinand: winbond: Add support for W25N01GV
W25N01GV is a single die version of the already supported W25M02GV with half the capacity. Everything else is the same so introduce support for W25N01GV. Datasheet:http://www.winbond.com/resource-files/w25n01gv%20revl%20050918%20unsecured.pdf Tested on 8devices Jalapeno dev board under OpenWrt running 4.19-rc5. Signed-off-by: Robert Marko <robimarko@gmail.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/spi/winbond.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mtd/nand/spi/winbond.c b/drivers/mtd/nand/spi/winbond.c
index 67baa1b32c00..5d944580b898 100644
--- a/drivers/mtd/nand/spi/winbond.c
+++ b/drivers/mtd/nand/spi/winbond.c
@@ -84,6 +84,14 @@ static const struct spinand_info winbond_spinand_table[] = {
0,
SPINAND_ECCINFO(&w25m02gv_ooblayout, NULL),
SPINAND_SELECT_TARGET(w25m02gv_select_target)),
+ SPINAND_INFO("W25N01GV", 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)),
};
/**
OpenPOWER on IntegriCloud