Patchwork [U-Boot,4/4] sf: winbond: Add support for W25Q256

login
register
mail settings
Submitter Jagannadha Sutradharudu Teki
Date Feb. 23, 2013, 11:39 a.m.
Message ID <263c1aba-69e3-4f3e-8444-560ca8bde7e2@CH1EHSMHS040.ehs.local>
Download mbox | patch
Permalink /patch/222714/
State Accepted
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Comments

Jagannadha Sutradharudu Teki - Feb. 23, 2013, 11:39 a.m.
Add support for Winbond W25Q256 SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
---
 drivers/mtd/spi/winbond.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
thomas.langer@lantiq.com - Feb. 24, 2013, 3:51 p.m.
Hi Jagan,

Am 23.02.2013 12:39, schrieb Jagannadha Sutradharudu Teki:
> Add support for Winbond W25Q256 SPI flash.
> 
As the other patches are only supporting spansion flashes, this is unrelated
and should be resend independent of them.

Even if not the full capacity of this flash is usable until the extended address support for winbond is added,
it might be useful for others to detect this chip and use the first 16 MB of it.

Best Regards,
Thomas
Jagannadha Sutradharudu Teki - May 25, 2013, 7:34 p.m.
On Sat, Feb 23, 2013 at 5:09 PM, Jagannadha Sutradharudu Teki
<jagannadha.sutradharudu-teki@xilinx.com> wrote:
> Add support for Winbond W25Q256 SPI flash.
>
> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.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 4418302..ceec0cb 100644
> --- a/drivers/mtd/spi/winbond.c
> +++ b/drivers/mtd/spi/winbond.c
> @@ -63,6 +63,11 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
>                 .name                   = "W25Q128",
>         },
>         {
> +               .id                     = 0x4019,
> +               .nr_blocks              = 512,
> +               .name                   = "W25Q256",
> +       },
> +       {
>                 .id                     = 0x5014,
>                 .nr_blocks              = 128,
>                 .name                   = "W25Q80",
> --
> 1.7.4

Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>

--
Thanks,
Jagan.
Jagannadha Sutradharudu Teki - May 28, 2013, 7:46 a.m.
On 23-02-2013 07:09, Jagannadha Sutradharudu Teki wrote:
> Add support for Winbond W25Q256 SPI flash.
>
> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.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 4418302..ceec0cb 100644
> --- a/drivers/mtd/spi/winbond.c
> +++ b/drivers/mtd/spi/winbond.c
> @@ -63,6 +63,11 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
>   		.name			= "W25Q128",
>   	},
>   	{
> +		.id			= 0x4019,
> +		.nr_blocks		= 512,
> +		.name			= "W25Q256",
> +	},
> +	{
>   		.id			= 0x5014,
>   		.nr_blocks		= 128,
>   		.name			= "W25Q80",
Applied to u-boot-spi/master

--
Thanks,
Jagan.

Patch

diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c
index 4418302..ceec0cb 100644
--- a/drivers/mtd/spi/winbond.c
+++ b/drivers/mtd/spi/winbond.c
@@ -63,6 +63,11 @@  static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
 		.name			= "W25Q128",
 	},
 	{
+		.id			= 0x4019,
+		.nr_blocks		= 512,
+		.name			= "W25Q256",
+	},
+	{
 		.id			= 0x5014,
 		.nr_blocks		= 128,
 		.name			= "W25Q80",