Skip to contentSkip to conversation

mtd: spi-nor: add Spansion S25FL204K support

PATCH In review Antony Pavlov 3 participants 4 messages Jun 16, 2015 – Aug 14, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 mtd: spi-nor: add Spansion S25FL204K support

Spansion S25FL204K is a 4-Mbit 3.0V Serial Flash Memory with Uniform 4 kB Sectors.

---
 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi-nor/spi-nor.c +1 -0
index d78831b..1a1494305 100644
@@ -626,6 +626,7 @@ static const struct spi_device_id spi_nor_ids[] = {
 	{ "s25fl064k",  INFO(0xef4017,      0,  64 * 1024, 128, SECT_4K) },
 	{ "s25fl132k",  INFO(0x014016,      0,  64 * 1024,  64, SECT_4K) },
 	{ "s25fl164k",  INFO(0x014017,      0,  64 * 1024, 128, SECT_4K) },
+	{ "s25fl204k",  INFO(0x014013,      0,  64 * 1024,   8, SECT_4K) },
 
 	/* SST -- large erase sizes are "overlays", "sectors" are 4K */
 	{ "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024,  8, SECT_4K | SST_WRITE) },
Signature · 1 line
2.1.4
#3 lore raw
Quoted 7 lines · Antony Pavlov
Quoted 4 lines · On Tue, 16 Jun 2015 10:49:36 +0200 Rafał Miłecki <[email protected]> wrote:
Quoted 3 lines · Antony Pavlov

Spansion S25FL204K is a 4-Mbit 3.0V Serial Flash Memory with Uniform 4 kB Sectors.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Thanks Antony!

Hmmm... I can't find this patch (https://patchwork.ozlabs.org/patch/484846/) in l2-mtd.git.

"Acked" does not mean "applied"; it was never applied, as my backlog is large.

Applied now to l2-mtd.git, with Rafal's ack.

BTW, it looks like this device supports dual mode (but not quad), so it might be nice to get the SPI_NOR_DUAL_READ flag added to it. If someone acks it, I can add that on to the patch.

Thanks,
Brian