sf: winbond: Add support for W25Q64DW
PATCH 1/1 sf: winbond: Add support for W25Q64DW
From: Jagannadha Sutradharudu Teki <[email protected]>
This patch adds support for Winbond W25Q64DW SPI flash.
--- drivers/mtd/spi/winbond.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/mtd/spi/winbond.c +5 -0
@@ -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)
Signature · 1 line
1.7.0.4
PATCH 1/1 sf: winbond: Add support for W25Q64DW
Hi Mike,
Quoted 16 lines · On 09/03/2012 05:17 PM, 402jagan at gmail.com wrote:
From: Jagannadha Sutradharudu Teki <[email protected]>
This patch adds support for Winbond W25Q64DW SPI flash.
Signed-off-by Jagannadha Sutradharudu Teki <[email protected]>--- drivers/mtd/spi/winbond.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)drivers/mtd/spi/winbond.c +0
-0@@ -67,6 +67,11 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { .nr_blocks = 128,
drivers/mtd/spi/winbond.c static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { · line 77
Quoted 10 lines
drivers/mtd/spi/winbond.c +5
-0.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
Signature · 4 lines
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
PATCH 1/1 sf: spansion: Correct the first byte of idcode1 for S25FL256S part
From: Jagannadha Sutradharudu Teki <[email protected]>
This patch corrected the first byte of idcode1 for S25FL256S SPI flash.
--- drivers/mtd/spi/spansion.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/spi/spansion.c +1 -1
@@ -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,
Signature · 1 line
1.7.0.4
PATCH 1/1 sf: spansion: Correct the first byte of idcode1 for S25FL256S part
Hi Mike,
Quoted 8 lines · On 09/14/2012 05:16 PM, 402jagan at gmail.com wrote:
From: Jagannadha Sutradharudu Teki <[email protected]>
This patch corrected the first byte of idcode1 for S25FL256S SPI flash.
Signed-off-by Jagannadha Sutradharudu Teki <[email protected]>--- 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
Signature · 4 lines
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