public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] sf: winbond: Add support for W25Q64DW
@ 2012-09-03 15:17 ` 402jagan at gmail.com
  2012-10-04  5:59   ` Michal Simek
  0 siblings, 1 reply; 4+ messages in thread
From: 402jagan at gmail.com @ 2012-09-03 15:17 UTC (permalink / raw)
  To: u-boot

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)
-- 
1.7.0.4

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

* [U-Boot] [PATCH] sf: spansion: Correct the first byte of idcode1 for S25FL256S part
@ 2012-09-14 15:16 ` 402jagan at gmail.com
  2012-10-04  5:55   ` Michal Simek
  0 siblings, 1 reply; 4+ messages in thread
From: 402jagan at gmail.com @ 2012-09-14 15:16 UTC (permalink / raw)
  To: u-boot

From: Jagannadha Sutradharudu Teki <402jagan@gmail.com>

This patch corrected the first byte of idcode1 for S25FL256S SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <402jagan@gmail.com>
---
 drivers/mtd/spi/spansion.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c
index 32b76e0..9288672 100644
--- a/drivers/mtd/spi/spansion.c
+++ b/drivers/mtd/spi/spansion.c
@@ -97,7 +97,7 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
 		.name = "S25FL129P_64K",
 	},
 	{
-		.idcode1 = 0x2019,
+		.idcode1 = 0x0219,
 		.idcode2 = 0x4d01,
 		.pages_per_sector = 256,
 		.nr_sectors = 512,
-- 
1.7.0.4

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

* [U-Boot] [PATCH] sf: spansion: Correct the first byte of idcode1 for S25FL256S part
  2012-09-14 15:16 ` [U-Boot] [PATCH] sf: spansion: Correct the first byte of idcode1 for S25FL256S part 402jagan at gmail.com
@ 2012-10-04  5:55   ` Michal Simek
  0 siblings, 0 replies; 4+ messages in thread
From: Michal Simek @ 2012-10-04  5:55 UTC (permalink / raw)
  To: u-boot

Hi Mike,

On 09/14/2012 05:16 PM, 402jagan at gmail.com wrote:
> From: Jagannadha Sutradharudu Teki <402jagan@gmail.com>
>
> This patch corrected the first byte of idcode1 for S25FL256S SPI flash.
>
> Signed-off-by: Jagannadha Sutradharudu Teki <402jagan@gmail.com>
> ---
>   drivers/mtd/spi/spansion.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)

Can you please add this patch to your sf branch?

I have checked it at http://www.spansion.com/Support/Datasheets/S25FL128S_256S_00.pdf (page 133)
and 02 is correct for 256Mb.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

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

* [U-Boot] [PATCH] sf: winbond: Add support for W25Q64DW
  2012-09-03 15:17 ` [U-Boot] [PATCH] sf: winbond: Add support for W25Q64DW 402jagan at gmail.com
@ 2012-10-04  5:59   ` Michal Simek
  0 siblings, 0 replies; 4+ messages in thread
From: Michal Simek @ 2012-10-04  5:59 UTC (permalink / raw)
  To: u-boot

Hi Mike,

On 09/03/2012 05:17 PM, 402jagan at 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

-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

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

end of thread, other threads:[~2012-10-04  5:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <402jagan@gmail.com>
2012-09-03 15:17 ` [U-Boot] [PATCH] sf: winbond: Add support for W25Q64DW 402jagan at gmail.com
2012-10-04  5:59   ` Michal Simek
2012-09-14 15:16 ` [U-Boot] [PATCH] sf: spansion: Correct the first byte of idcode1 for S25FL256S part 402jagan at gmail.com
2012-10-04  5:55   ` Michal Simek

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