Skip to contentSkip to conversation

sf: spansion: Add support for S25FL128S

PATCH New Xie Xiaobo 2 participants 2 messages May 31, 2013 Memory technology devices (MTD)

lore
Share & tools
lore

Xie Xiaobo

author
#0 lore raw

PATCH v2 1/1 sf: spansion: Add support for S25FL128S

SPANSION recommend S25FL128S supersedes S25FL129P, and the two flash memory have the same device ID and Memory architecture. So they can use the same config parameters.

---
 drivers/mtd/spi/spansion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/spi/spansion.c +1 -1
index 32b76e0..cfbd384 100644
@@ -94,7 +94,7 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
 		.idcode2 = 0x4d01,
 		.pages_per_sector = 256,
 		.nr_sectors = 256,
-		.name = "S25FL129P_64K",
+		.name = "S25FL129P_64K/S25FL128S_64K",
 	},
 	{
 		.idcode1 = 0x2019,
Signature · 1 line
1.8.0
#1 lore raw

PATCH v2 1/1 sf: spansion: Add support for S25FL128S

Quoted 14 lines · Xie Xiaobo

SPANSION recommend S25FL128S supersedes S25FL129P, and the two flash memory have the same device ID and Memory architecture. So they can use the same config parameters.

---
 drivers/mtd/spi/spansion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/spi/spansion.c +0 -0
index 32b76e0..cfbd384 100644

drivers/mtd/spi/spansion.c static const struct spansion_spi_flash_params spansion_spi_flash_table[] = { · line 100

Quoted 8 lines
drivers/mtd/spi/spansion.c +1 -1
@@ -94,7 +94,7 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
                .idcode2 = 0x4d01,
                .pages_per_sector = 256,
                .nr_sectors = 256,
-               .name = "S25FL129P_64K",
+               .name = "S25FL129P_64K/S25FL128S_64K",
        },
        {
                .idcode1 = 0x2019,

Thanks for this patch, but
Sent the same change with your name as author. no issues.
http://patchwork.ozlabs.org/patch/247607/

--
Thanks,
Jagan.