summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorKimmo Rautkoski <ext-kimmo.rautkoski@vaisala.com>2018-05-14 13:15:53 +0300
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-05-18 13:33:22 +0200
commitd616f81cdd2a21edfa90a595a4e9b143f5ba8414 (patch)
tree78a339a83ad7d8236ac719baca7f88866ad41142 /drivers/mtd
parent7fccf56ea4faef3f1e704acc18b8576b2eb9989d (diff)
downloadblackbird-op-linux-d616f81cdd2a21edfa90a595a4e9b143f5ba8414.tar.gz
blackbird-op-linux-d616f81cdd2a21edfa90a595a4e9b143f5ba8414.zip
mtd: spi-nor: Add support for is25wp series chips
Added support for is25wp032, is25wp064 and is25wp128. Signed-off-by: Kimmo Rautkoski <ext-kimmo.rautkoski@vaisala.com> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/spi-nor/spi-nor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index 3dda39b1cae9..e6ead30d5949 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -1065,6 +1065,12 @@ static const struct flash_info spi_nor_ids[] = {
SECT_4K | SPI_NOR_DUAL_READ) },
{ "is25lp256", INFO(0x9d6019, 0, 64 * 1024, 512,
SECT_4K | SPI_NOR_DUAL_READ) },
+ { "is25wp032", INFO(0x9d7016, 0, 64 * 1024, 64,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+ { "is25wp064", INFO(0x9d7017, 0, 64 * 1024, 128,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+ { "is25wp128", INFO(0x9d7018, 0, 64 * 1024, 256,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
/* Macronix */
{ "mx25l512e", INFO(0xc22010, 0, 64 * 1024, 1, SECT_4K) },
OpenPOWER on IntegriCloud