Add support for Winbond W25Q64 SPI flash
This patch adds support for Winbond W25Q64 SPI flash. It's tested on a custom Spartan-6 board, and used on Xilinx' SP601 evaluation board.
PATCH 1/1 Add support for Winbond W25Q64 SPI flash
--- drivers/mtd/spi/winbond.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)
drivers/mtd/spi/winbond.c +9 -0
@@ -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)
Signature · 1 line
1.6.3.3
Paulraj
PATCH 1/1 Add support for Winbond W25Q64 SPI flash
The patch will need your signed-off-by
And a patch description
Quoted 36 lines
--- drivers/mtd/spi/winbond.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)drivers/mtd/spi/winbond.c +9
-0@@ -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
PATCH 1/1 Add support for Winbond W25Q64 SPI flash
Quoted 3 lines · Sandeep
The patch will need your signed-off-by
And a patch description
once you fix those issues, patch looks fine and should be OK for merging. i'll pick it up if Wolfgang doesnt, but it should be OK to merge for this release.
-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/20100728/75131601/attachment.pgp