public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sf: winbond: Add support for the Winbond W25X40
@ 2011-07-15 16:12 James Le Cuirot
  2011-07-18 18:02 ` Mike Frysinger
  0 siblings, 1 reply; 5+ messages in thread
From: James Le Cuirot @ 2011-07-15 16:12 UTC (permalink / raw)
  To: u-boot

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(-)

diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c
index e8d30ae..4ab197f 100644
--- a/drivers/mtd/spi/winbond.c
+++ b/drivers/mtd/spi/winbond.c
@@ -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,
-- 
1.7.6

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] sf: winbond: Add support for the Winbond W25X40
  2011-07-15 16:12 [U-Boot] [PATCH] sf: winbond: Add support for the Winbond W25X40 James Le Cuirot
@ 2011-07-18 18:02 ` Mike Frysinger
  2011-07-18 18:44   ` James Le Cuirot
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Frysinger @ 2011-07-18 18:02 UTC (permalink / raw)
  To: u-boot

On Fri, Jul 15, 2011 at 12:12, James Le Cuirot wrote:
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] sf: winbond: Add support for the Winbond W25X40
  2011-07-18 18:02 ` Mike Frysinger
@ 2011-07-18 18:44   ` James Le Cuirot
  2011-07-18 18:51     ` Mike Frysinger
  2011-09-05 14:05     ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: James Le Cuirot @ 2011-07-18 18:44 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: James Le Cuirot <chewi@aura-online.co.uk>
---
 drivers/mtd/spi/winbond.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c
index e8d30ae..4ab197f 100644
--- a/drivers/mtd/spi/winbond.c
+++ b/drivers/mtd/spi/winbond.c
@@ -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,
-- 
1.7.6

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] sf: winbond: Add support for the Winbond W25X40
  2011-07-18 18:44   ` James Le Cuirot
@ 2011-07-18 18:51     ` Mike Frysinger
  2011-09-05 14:05     ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2011-07-18 18:51 UTC (permalink / raw)
  To: u-boot

On Mon, Jul 18, 2011 at 14:44, James Le Cuirot wrote:
> 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
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-mike

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] sf: winbond: Add support for the Winbond W25X40
  2011-07-18 18:44   ` James Le Cuirot
  2011-07-18 18:51     ` Mike Frysinger
@ 2011-09-05 14:05     ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2011-09-05 14:05 UTC (permalink / raw)
  To: u-boot

Dear James Le Cuirot,

In message <1311014692-1420-1-git-send-email-chewi@aura-online.co.uk> you wrote:
> The Winbond W25X40 is now being used in the IP02 (and possibly IP04).
> Tested and working on the actual device.
> 
> Signed-off-by: James Le Cuirot <chewi@aura-online.co.uk>
> ---
>  drivers/mtd/spi/winbond.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-05 14:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-15 16:12 [U-Boot] [PATCH] sf: winbond: Add support for the Winbond W25X40 James Le Cuirot
2011-07-18 18:02 ` Mike Frysinger
2011-07-18 18:44   ` James Le Cuirot
2011-07-18 18:51     ` Mike Frysinger
2011-09-05 14:05     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox