Skip to contentSkip to conversation

m25p80: Add support for two new Spansion SPI devices (S25FL-K)

PATCH Applied Gernot Hoyler 2 participants 6 messages Sep 1, 2010 – Sep 2, 2010 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m25p80: Add support for two new Spansion SPI devices (S25FL-K)

This patch adds support for Spansion S25FL016K and S25FL064K SPI flash. It has been tested with physical devices. Note that both parts exhibit a Winbond manufacturer ID so they might also be added to that section.

---
 drivers/mtd/devices/m25p80.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/mtd/devices/m25p80.c +2 -0
index 6f512b5..1f0f703 100644
@@ -666,6 +666,8 @@ static const struct spi_device_id m25p_ids[] = {
 	{ "s25sl12801", INFO(0x012018, 0x0301,  64 * 1024, 256, 0) },
 	{ "s25fl129p0", INFO(0x012018, 0x4d00, 256 * 1024,  64, 0) },
 	{ "s25fl129p1", INFO(0x012018, 0x4d01,  64 * 1024, 256, 0) },
+	{ "s25fl016k",  INFO(0xef4015,      0,  64 * 1024,  32, SECT_4K) },
+	{ "s25fl064k",  INFO(0xef4017,      0,  64 * 1024, 128, SECT_4K) },
 
 	/* SST -- large erase sizes are "overlays", "sectors" are 4K */
 	{ "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024,  8, SECT_4K) },
Signature · 1 line
1.6.2.2
#1 lore raw
Quoted 9 lines · Gernot Hoyler

This patch adds support for Spansion S25FL016K and S25FL064K SPI flash. It has been tested with physical devices. Note that both parts exhibit a Winbond manufacturer ID so they might also be added to that section.

---
  drivers/mtd/devices/m25p80.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

Would you please, send a patch which is applicable to the current mtd
tree: http://git.infradead.org/mtd-2.6.git

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Битюцкий Артём)
#2 lore raw
Quoted 2 lines

Would you please, send a patch which is applicable to the current mtd
tree: http://git.infradead.org/mtd-2.6.git

Hmm, it should. If have cloned git://git.infradead.org/mtd-2.6,
created a new head, applied and committed my changes to that new head. Then I have created the patch via "git format-patch master..head" and (manually) added the signed-off-by line. Also, I have verified that I can apply the patch to the latest master head via "patch -p1 < ...".

Did I miss something?

Thx, Gernot

#3 lore raw
Quoted 8 lines · Gernot
Quoted 2 lines

Would you please, send a patch which is applicable to the current mtd
tree: http://git.infradead.org/mtd-2.6.git

Hmm, it should. If have cloned git://git.infradead.org/mtd-2.6,
created a new head, applied and committed my changes to that new head. Then I have created the patch via "git format-patch master..head" and (manually) added the signed-off-by line. Also, I have verified that I can apply the patch to the latest master head via "patch -p1 < ...".

Could you please try to save your own e-mail and apply it with git am ?

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Битюцкий Артём)
#4 lore raw

This patch adds support for Spansion S25FL016K and S25FL064K SPI flash. It has been tested with physical devices. Note that both parts exhibit a Winbond manufacturer ID so they might also be added to that section.

---
 drivers/mtd/devices/m25p80.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/mtd/devices/m25p80.c +2 -0
index 6f512b5..1f0f703 100644
@@ -666,6 +666,8 @@ static const struct spi_device_id m25p_ids[] = {
 	{ "s25sl12801", INFO(0x012018, 0x0301,  64 * 1024, 256, 0) },
 	{ "s25fl129p0", INFO(0x012018, 0x4d00, 256 * 1024,  64, 0) },
 	{ "s25fl129p1", INFO(0x012018, 0x4d01,  64 * 1024, 256, 0) },
+	{ "s25fl016k",  INFO(0xef4015,      0,  64 * 1024,  32, SECT_4K) },
+	{ "s25fl064k",  INFO(0xef4017,      0,  64 * 1024, 128, SECT_4K) },
 
 	/* SST -- large erase sizes are "overlays", "sectors" are 4K */
 	{ "sst25vf040b", INFO(0xbf258d, 0, 64 * 1024,  8, SECT_4K) },
Signature · 1 line
1.6.2.2
#5 lore raw
Quoted 5 lines · Gernot Hoyler

This patch adds support for Spansion S25FL016K and S25FL064K SPI flash. It has been tested with physical devices. Note that both parts exhibit a Winbond manufacturer ID so they might also be added to that section.

Pushed to l2-mtd-2.6.git, thanks.

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Битюцкий Артём)