]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mtd: spi-nor: Add support for mx66u51235f
authorAlexander Sverdlin <alexander.sverdlin@nokia.com>
Thu, 22 Jun 2017 11:20:36 +0000 (13:20 +0200)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Mon, 26 Jun 2017 20:58:26 +0000 (22:58 +0200)
This chip supports stateless 4-byte opcodes, dual and quad read and
uniform 4K-byte erase.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/spi-nor.c

index 040ab5d7ac0527b2099247fb813f75d3820160d3..2659bbad5b9ac329bc6ab7164a96abb1f777d16d 100644 (file)
@@ -1012,6 +1012,7 @@ static const struct flash_info spi_nor_ids[] = {
        { "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K | SPI_NOR_4B_OPCODES) },
        { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) },
        { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+       { "mx66u51235f", INFO(0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) },
        { "mx66l1g45g",  INFO(0xc2201b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
        { "mx66l1g55g",  INFO(0xc2261b, 0, 64 * 1024, 2048, SPI_NOR_QUAD_READ) },