public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Add support for Winbond W25Q64 SPI flash (updated)
@ 2010-07-29 13:00 Graeme Smecher
  2010-07-29 13:00 ` [U-Boot] [PATCH] Add support for Winbond W25Q64 SPI flash Graeme Smecher
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Graeme Smecher @ 2010-07-29 13:00 UTC (permalink / raw)
  To: u-boot

This patch adds support for Winbond W25Q64 SPI flash. It's tested on a custom
Spartan-6 board, and used on Xilinx' SP601 and SP605 evaluation boards.

(Patch now includes signed-off-by and description. Sorry, I'm still picking up
git's e-mail flow.)

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

* [U-Boot] [PATCH] Add support for Winbond W25Q64 SPI flash
  2010-07-29 13:00 [U-Boot] Add support for Winbond W25Q64 SPI flash (updated) Graeme Smecher
@ 2010-07-29 13:00 ` Graeme Smecher
  2010-07-29 15:26 ` [U-Boot] Add support for Winbond W25Q64 SPI flash (updated) Mike Frysinger
  2010-08-23 22:06 ` Mike Frysinger
  2 siblings, 0 replies; 4+ messages in thread
From: Graeme Smecher @ 2010-07-29 13:00 UTC (permalink / raw)
  To: u-boot

Adds support for Winbond's W25Q64 SPI flash. These devices are used on (among
others) Xilinx' SP601 and SP605 Spartan-6 evaluation boards. Tested with "sf"
commands.

Signed-off-by: Graeme Smecher <graeme.smecher@mail.mcgill.ca>
---
 drivers/mtd/spi/winbond.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c
index ff1df25..de3aeb8 100644
--- a/drivers/mtd/spi/winbond.c
+++ b/drivers/mtd/spi/winbond.c
@@ -27,6 +27,7 @@
 #define WINBOND_ID_W25X16		0x3015
 #define WINBOND_ID_W25X32		0x3016
 #define WINBOND_ID_W25X64		0x3017
+#define WINBOND_ID_W25Q64		0x4017
 
 #define WINBOND_SR_WIP		(1 << 0)	/* Write-in-Progress */
 
@@ -77,6 +78,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
 		.nr_blocks		= 128,
 		.name			= "W25X64",
 	},
+	{
+		.id			= WINBOND_ID_W25Q64,
+		.l2_page_size		= 8,
+		.pages_per_sector	= 16,
+		.sectors_per_block	= 16,
+		.nr_blocks		= 128,
+		.name			= "W25Q64",
+	},
 };
 
 static int winbond_wait_ready(struct spi_flash *flash, unsigned long timeout)
-- 
1.6.3.3

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

* [U-Boot] Add support for Winbond W25Q64 SPI flash (updated)
  2010-07-29 13:00 [U-Boot] Add support for Winbond W25Q64 SPI flash (updated) Graeme Smecher
  2010-07-29 13:00 ` [U-Boot] [PATCH] Add support for Winbond W25Q64 SPI flash Graeme Smecher
@ 2010-07-29 15:26 ` Mike Frysinger
  2010-08-23 22:06 ` Mike Frysinger
  2 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2010-07-29 15:26 UTC (permalink / raw)
  To: u-boot

On Thursday, July 29, 2010 09:00:01 Graeme Smecher wrote:
> This patch adds support for Winbond W25Q64 SPI flash. It's tested on a
> custom Spartan-6 board, and used on Xilinx' SP601 and SP605 evaluation
> boards.
> 
> (Patch now includes signed-off-by and description. Sorry, I'm still picking
> up git's e-mail flow.)

if you're sending out a patch or two and the patches themselves have an 
adequate changelog, then you dont need to send out a summary e-mail too.  
should save you some time in the future.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100729/b6c72bc5/attachment.pgp 

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

* [U-Boot] Add support for Winbond W25Q64 SPI flash (updated)
  2010-07-29 13:00 [U-Boot] Add support for Winbond W25Q64 SPI flash (updated) Graeme Smecher
  2010-07-29 13:00 ` [U-Boot] [PATCH] Add support for Winbond W25Q64 SPI flash Graeme Smecher
  2010-07-29 15:26 ` [U-Boot] Add support for Winbond W25Q64 SPI flash (updated) Mike Frysinger
@ 2010-08-23 22:06 ` Mike Frysinger
  2 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2010-08-23 22:06 UTC (permalink / raw)
  To: u-boot

ive imported this into my sf branch so it doesnt get lost.  cheers !
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100823/b651a1b0/attachment.pgp 

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

end of thread, other threads:[~2010-08-23 22:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-29 13:00 [U-Boot] Add support for Winbond W25Q64 SPI flash (updated) Graeme Smecher
2010-07-29 13:00 ` [U-Boot] [PATCH] Add support for Winbond W25Q64 SPI flash Graeme Smecher
2010-07-29 15:26 ` [U-Boot] Add support for Winbond W25Q64 SPI flash (updated) Mike Frysinger
2010-08-23 22:06 ` Mike Frysinger

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