Patchwork winbondw25x32/64 support

login
register
about
Submitter Bao, Zheng
Date 2009-11-26 08:55:00
Message ID <DD1CC71B621B004FA76856E5129D6B170341425C@sbjgexmb1.amd.com>
Download mbox | patch
Permalink /patch/600/
State Accepted
Commit r782
Headers show

Comments

Bao, Zheng - 2009-11-26 08:55:00
Add entries of W25x32 and W25x64. The modle_ids are already in the
header.

W25x32 has been successfully probed.
W25x64 is not available. I just get information from datasheet.


Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Carl-Daniel Hailfinger - 2009-11-26 11:05:54
On 26.11.2009 09:55, Bao, Zheng wrote:
> Add entries of W25x32 and W25x64. The modle_ids are already in the
> header.
>
> W25x32 has been successfully probed.
> W25x64 is not available. I just get information from datasheet.
>
> Signed-off-by: Zheng Bao <zheng.bao@amd.com>
>   

Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>

Thanks, r782.

Regards,
Carl-Daniel

Patch

Index: flashchips.c
===================================================================
--- flashchips.c	(revision 781)
+++ flashchips.c	(working copy)
@@ -3038,6 +3038,38 @@ 
 
 	{
 		.vendor		= "Winbond",
+		.name		= "W25x32",
+		.bustype	= CHIP_BUSTYPE_SPI,
+		.manufacture_id	= WINBOND_NEX_ID,
+		.model_id	= W_25X32,
+		.total_size	= 4096,
+		.page_size	= 256,
+		.tested		= TEST_OK_PROBE,
+		.probe		= probe_spi_rdid,
+		.probe_timing	= TIMING_ZERO,
+		.erase		= spi_chip_erase_c7,
+		.write		= spi_chip_write_256,
+		.read		= spi_chip_read,
+	},
+
+	{
+		.vendor		= "Winbond",
+		.name		= "W25x64",
+		.bustype	= CHIP_BUSTYPE_SPI,
+		.manufacture_id	= WINBOND_NEX_ID,
+		.model_id	= W_25X64,
+		.total_size	= 8192,
+		.page_size	= 256,
+		.tested		= TEST_UNTESTED,
+		.probe		= probe_spi_rdid,
+		.probe_timing	= TIMING_ZERO,
+		.erase		= spi_chip_erase_c7,
+		.write		= spi_chip_write_256,
+		.read		= spi_chip_read,
+	},
+
+	{
+		.vendor		= "Winbond",
 		.name		= "W29C011",
 		.bustype	= CHIP_BUSTYPE_PARALLEL,
 		.manufacture_id	= WINBOND_ID,