[PATCHv3 1/2] mtd: spi-nor: add support for is25lq040b
Sean Nyekjaer
sean.nyekjaer at prevas.dk
Thu Dec 14 23:33:31 PST 2017
Signed-off-by: Sean Nyekjaer <sean.nyekjaer at prevas.dk>
---
v3:
- this spi-nor is 4Mbit or 512KB
- readded SECT_4K as per Cyrille comments
- spi-nor supports fast read dual and quad
v2:
- removed SECT_4K as the chip are supporting 32K and bulk erase
drivers/mtd/spi-nor/spi-nor.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 9178139a39d0..f7676aa50ce6 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1046,6 +1046,8 @@ static const struct flash_info spi_nor_ids[] = {
/* ISSI */
{ "is25cd512", INFO(0x7f9d20, 0, 32 * 1024, 2, SECT_4K) },
+ { "is25lq040b", INFO(0x9d4013, 0, 64 * 1024, 8,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
{ "is25lp128", INFO(0x9d6018, 0, 64 * 1024, 256,
SECT_4K | SPI_NOR_DUAL_READ) },
--
2.15.1
More information about the linux-mtd
mailing list