Skip to contentSkip to conversation

drivers: mtd :spi: Enable 4B opcodes for SPANSION s25fl512s

PATCH Superseded Ashish Kumar 2 participants 3 messages Jun 27, 2019 – Jul 17, 2019 Memory technology devices (MTD)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: mtd :spi: Enable 4B opcodes for SPANSION s25fl512s

s25fs512s and s25fl512s which has same JEDEC ID but only varies in operating volatge so s25fs512s shares same command set as mentioned below
– Serial Command subset and footprint compatible with
S25FL-A, S25FL-K, S25FL-P, and S25FL-S SPI families
– Multi I/O Command subset and footprint compatible with S25FL-P, and S25FL-S SPI families

---
 drivers/mtd/spi/spi-nor-ids.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/spi/spi-nor-ids.c +1 -1
index ec92976..a89c191 100644
@@ -177,7 +177,7 @@ const struct flash_info spi_nor_ids[] = {
 	{ INFO("s25sl064p",  0x010216, 0x4d00,  64 * 1024, 128, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 	{ INFO("s25fl256s0", 0x010219, 0x4d00, 256 * 1024, 128, USE_CLSR) },
 	{ INFO("s25fl256s1", 0x010219, 0x4d01,  64 * 1024, 512, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR) },
-	{ INFO6("s25fl512s",  0x010220, 0x4d0081, 256 * 1024, 256, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR) },
+	{ INFO6("s25fl512s",  0x010220, 0x4d0081, 256 * 1024, 256, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR | SPI_NOR_4B_OPCODES) },
 	{ INFO("s25fl512s_256k",  0x010220, 0x4d00, 256 * 1024, 256, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR) },
 	{ INFO("s25fl512s_64k",  0x010220, 0x4d01, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR) },
 	{ INFO("s25fl512s_512k", 0x010220, 0x4f00, 256 * 1024, 256, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | USE_CLSR) },
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 drivers: mtd :spi: Enable 4B opcodes for SPANSION s25fl512s

Quoted 8 lines · Ashish Kumar

s25fs512s and s25fl512s which has same JEDEC ID but only varies in operating volatge so s25fs512s shares same command set as mentioned below
– Serial Command subset and footprint compatible with
S25FL-A, S25FL-K, S25FL-P, and S25FL-S SPI families
– Multi I/O Command subset and footprint compatible with S25FL-P, and S25FL-S SPI families

Quoted 4 lines
---
 drivers/mtd/spi/spi-nor-ids.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Sorry, I can see the same patches on ML w/o the versioning number that indeed difficult the diff from previous one.

Would you please send all the 3 patches again with next version with change log.

#2 lore raw
Quoted 26 lines

-----Original Message-----
From: Jagan Teki <[email protected]>
Sent: Tuesday, July 16, 2019 5:25 PM
To: Ashish Kumar <[email protected]>
Cc: U-Boot-Denx <[email protected]>
Subject: [EXT] Re: [PATCH] drivers: mtd :spi: Enable 4B opcodes for SPANSION s25fl512s

Caution: EXT Email

Quoted 11 lines · Ashish Kumar

s25fs512s and s25fl512s which has same JEDEC ID but only varies in operating volatge so s25fs512s shares same command set as mentioned below – Serial Command subset and footprint compatible with S25FL-A, S25FL-K, S25FL-P, and S25FL-S SPI families – Multi I/O Command subset and footprint compatible with S25FL-P, and S25FL-S SPI families

---
 drivers/mtd/spi/spi-nor-ids.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 5 lines

Sorry, I can see the same patches on ML w/o the versioning number that indeed difficult the diff from previous one.

Would you please send all the 3 patches again with next version with change log.

Thanks Jagan for the feedback.
I have posted the v3 of the same with version info and change log
http://patchwork.ozlabs.org/patch/1133132/
http://patchwork.ozlabs.org/patch/1133133/
http://patchwork.ozlabs.org/patch/1133134/

Regards
Ashish