From 6d73435ca44ee63c752dbc3576ecc584817addc9 Mon Sep 17 00:00:00 2001 From: Vipul Kumar Date: Tue, 24 Jul 2018 15:17:21 +0530 Subject: [PATCH] mtd: spi-nor: Added support for low-density ISSI serial NOR flash This patch added support for the following ISSI flash parts: -is25lp008d (8M/3.3V), is25wp008d (8M/1.8V) -is25lp016d (16M/3.3V), is25wp016d (16M/1.8V) -is25lp032d (32M/3.3V), is25wp032d (32M/1.8V) -is25wp064d (64M/1.8V) Signed-off-by: Vipul Kumar Signed-off-by: Michal Simek --- drivers/mtd/spi/spi_flash_ids.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c index f333d7de242..66b6c204543 100644 --- a/drivers/mtd/spi/spi_flash_ids.c +++ b/drivers/mtd/spi/spi_flash_ids.c @@ -68,8 +68,14 @@ const struct spi_flash_info spi_flash_ids[] = { #endif #ifdef CONFIG_SPI_FLASH_ISSI /* ISSI */ {"is25lq040b", INFO(0x9d4013, 0x0, 64 * 1024, 8, 0) }, - {"is25lp032", INFO(0x9d6016, 0x0, 64 * 1024, 64, 0) }, + {"is25lp008d", INFO(0x9d6014, 0x0, 64 * 1024, 16, RD_QUAD) }, + {"is25wp008d", INFO(0x9d7014, 0x0, 64 * 1024, 16, RD_QUAD) }, + {"is25lp016d", INFO(0x9d6015, 0x0, 64 * 1024, 32, RD_QUAD) }, + {"is25wp016d", INFO(0x9d7015, 0x0, 64 * 1024, 32, RD_QUAD) }, + {"is25lp032d", INFO(0x9d6016, 0x0, 64 * 1024, 64, RD_QUAD) }, + {"is25wp032d", INFO(0x9d7016, 0x0, 64 * 1024, 64, RD_QUAD) }, {"is25lp064", INFO(0x9d6017, 0x0, 64 * 1024, 128, 0) }, + {"is25wp064d", INFO(0x9d7017, 0x0, 64 * 1024, 128, RD_QUAD) }, {"is25lp128", INFO(0x9d6018, 0x0, 64 * 1024, 256, 0) }, {"is25lp256d", INFO(0x9d6019, 0x0, 64 * 1024, 512, RD_QUAD) }, {"is25wp256d", INFO(0x9d7019, 0x0, 64 * 1024, 512, RD_QUAD) }, -- 2.47.3