mtd: spi-nor: Add ISSI is25lp080d support
authorRomain Porte <romain.porte@nokia.com>
Thu, 28 Dec 2017 10:03:24 +0000 (11:03 +0100)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Thu, 28 Dec 2017 11:26:05 +0000 (12:26 +0100)
Add support for a new ISSI 1MB SPI NOR chip that was tested in our lab.
Datasheet is available at: http://www.issi.com/WW/pdf/25LP-WP080D.pdf

Testing was done only without the SPI_NOR_{DUAL,QUAD}_READ flags that
were added later, according to the datasheet.

Tested-by: Pascal Fabreges <pascal.fabreges@nokia.com>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Romain Porte <romain.porte@nokia.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/spi-nor.c

index 79c5984253528133f0ed2e25893a123c2c13196b..d445a4d3b77077d838233c8a90a876d13650d72d 100644 (file)
@@ -1048,6 +1048,8 @@ static const struct flash_info spi_nor_ids[] = {
        { "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) },
+       { "is25lp080d", INFO(0x9d6014, 0, 64 * 1024,  16,
+                       SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
        { "is25lp128",  INFO(0x9d6018, 0, 64 * 1024, 256,
                        SECT_4K | SPI_NOR_DUAL_READ) },