Patchwork [U-Boot] sf: winbond: Add support for W25Q64DW

login
register
mail settings
Submitter 402jagan@gmail.com
Date Sept. 3, 2012, 3:17 p.m.
Message ID <1346685447-2355-2-git-send-email-402jagan@gmail.com>
Download mbox | patch
Permalink /patch/181370/
State Accepted
Delegated to: Mike Frysinger
Headers show

Comments

402jagan@gmail.com - Sept. 3, 2012, 3:17 p.m.
From: Jagannadha Sutradharudu Teki <402jagan@gmail.com>

This patch adds support for Winbond W25Q64DW SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <402jagan@gmail.com>
---
 drivers/mtd/spi/winbond.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
Michal Simek - Oct. 4, 2012, 5:59 a.m.
Hi Mike,

On 09/03/2012 05:17 PM, 402jagan@gmail.com wrote:
> From: Jagannadha Sutradharudu Teki <402jagan@gmail.com>
>
> This patch adds support for Winbond W25Q64DW SPI flash.
>
> Signed-off-by: Jagannadha Sutradharudu Teki <402jagan@gmail.com>
> ---
>   drivers/mtd/spi/winbond.c |    5 +++++
>   1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c
> index f6aab3d..4418302 100644
> --- a/drivers/mtd/spi/winbond.c
> +++ b/drivers/mtd/spi/winbond.c
> @@ -67,6 +67,11 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
>   		.nr_blocks		= 128,
>   		.name			= "W25Q80",
>   	},
> +	{
> +		.id			= 0x6017,
> +		.nr_blocks		= 128,
> +		.name			= "W25Q64DW",
> +	},
>   };
>
>   struct spi_flash *spi_flash_probe_winbond(struct spi_slave *spi, u8 *idcode)
>

http://www.winbond.com.tw/NR/rdonlyres/9029DFAD-5FDD-4C84-851A-7326DF7389AB/0/W25Q64DW.pdf
(page 18)

Can you please add this patch to your sf branch?

Thanks,
Michal

Patch

diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c
index f6aab3d..4418302 100644
--- a/drivers/mtd/spi/winbond.c
+++ b/drivers/mtd/spi/winbond.c
@@ -67,6 +67,11 @@  static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
 		.nr_blocks		= 128,
 		.name			= "W25Q80",
 	},
+	{
+		.id			= 0x6017,
+		.nr_blocks		= 128,
+		.name			= "W25Q64DW",
+	},
 };
 
 struct spi_flash *spi_flash_probe_winbond(struct spi_slave *spi, u8 *idcode)