diff options
author | Michael Walle <michael@walle.cc> | 2020-01-16 17:02:09 +0100 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2020-01-19 08:45:55 +0200 |
commit | ccfb9299a0b63da4fde607c822e1470472a46177 (patch) | |
tree | 1f7ba30102805ca036ca27a5439957c32c69c9b7 /drivers/mtd/spi-nor | |
parent | f3418718c0ec934013a36d717a00554d5fbcffc5 (diff) | |
download | linux-ccfb9299a0b63da4fde607c822e1470472a46177.tar.gz linux-ccfb9299a0b63da4fde607c822e1470472a46177.tar.bz2 linux-ccfb9299a0b63da4fde607c822e1470472a46177.zip |
mtd: spi-nor: Add support for at25sl321
This was tested in single, dual and quad mode on a custom board with the
NXP FlexSPI controller.
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Diffstat (limited to 'drivers/mtd/spi-nor')
-rw-r--r-- | drivers/mtd/spi-nor/spi-nor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index a482c9ca74dd..928a660e3b1d 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -2323,6 +2323,9 @@ static const struct flash_info spi_nor_ids[] = { { "at25df321a", INFO(0x1f4701, 0, 64 * 1024, 64, SECT_4K) }, { "at25df641", INFO(0x1f4800, 0, 64 * 1024, 128, SECT_4K) }, + { "at25sl321", INFO(0x1f4216, 0, 64 * 1024, 64, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, + { "at26f004", INFO(0x1f0400, 0, 64 * 1024, 8, SECT_4K) }, { "at26df081a", INFO(0x1f4501, 0, 64 * 1024, 16, SECT_4K) }, { "at26df161a", INFO(0x1f4601, 0, 64 * 1024, 32, SECT_4K) }, |