Skip to contentSkip to conversation

sf: winbond: Add support for the Winbond W25X40

PATCH New James Le Cuirot 3 participants 5 messages Jul 15, 2011 – Sep 5, 2011 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sf: winbond: Add support for the Winbond W25X40

The Winbond W25X40 is now being used in the IP02 (and possibly IP04). Tested and working on the actual device.

---
 drivers/mtd/spi/winbond.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
drivers/mtd/spi/winbond.c +8 -0
index e8d30ae..4ab197f 100644
@@ -48,6 +48,14 @@ to_winbond_spi_flash(struct spi_flash *flash)
 
 static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
 	{
+		.id			= 0x3013,
+		.l2_page_size		= 8,
+		.pages_per_sector	= 16,
+		.sectors_per_block	= 16,
+		.nr_blocks		= 8,
+		.name			= "W25X40",
+	},
+	{
 		.id			= 0x3015,
 		.l2_page_size		= 8,
 		.pages_per_sector	= 16,
Signature · 1 line
1.7.6
#1 lore raw

PATCH 1/1 sf: winbond: Add support for the Winbond W25X40

Quoted 3 lines · James Le Cuirot

The Winbond W25X40 is now being used in the IP02 (and possibly IP04). Tested and working on the actual device.
---

you need to include your s-o-b tag. to edit your existing commit, simply do: git commit --amend -s and it'll auto add it for you.

as for the change itself, it looks fine to me.
-mike

#2 lore raw

PATCH 1/1 sf: winbond: Add support for the Winbond W25X40

The Winbond W25X40 is now being used in the IP02 (and possibly IP04). Tested and working on the actual device.

---
 drivers/mtd/spi/winbond.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
drivers/mtd/spi/winbond.c +8 -0
index e8d30ae..4ab197f 100644
@@ -48,6 +48,14 @@ to_winbond_spi_flash(struct spi_flash *flash)
 
 static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
 	{
+		.id			= 0x3013,
+		.l2_page_size		= 8,
+		.pages_per_sector	= 16,
+		.sectors_per_block	= 16,
+		.nr_blocks		= 8,
+		.name			= "W25X40",
+	},
+	{
 		.id			= 0x3015,
 		.l2_page_size		= 8,
 		.pages_per_sector	= 16,
Signature · 1 line
1.7.6
#3 lore raw

PATCH 1/1 sf: winbond: Add support for the Winbond W25X40

Quoted 2 lines · James Le Cuirot

The Winbond W25X40 is now being used in the IP02 (and possibly IP04). Tested and working on the actual device.

i've pulled into my "sf" branch ... thanks

-mike

#4 lore raw

PATCH 1/1 sf: winbond: Add support for the Winbond W25X40

In reply to James Le Cuirot

Dear James Le Cuirot,

Quoted 7 lines · In message <[email protected]> you wrote:

The Winbond W25X40 is now being used in the IP02 (and possibly IP04). Tested and working on the actual device.

---
 drivers/mtd/spi/winbond.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
As far as the laws of mathematics refer  to  reality,  they  are  not
certain;  and  as  far  as  they  are  certain,  they do not refer to
reality.                                           -- Albert Einstein