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

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