summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZheng Bao <zheng.bao@amd.com>2009-11-26 11:05:01 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-11-26 11:05:01 +0000
commit1db2b759026debc8f1cd45f3182b9e14124f9c7e (patch)
tree1028fecf0d6b0dfcf3b36e930e32d51290d3ed90
parentd0250a3afdda528d1327c8c714e470706e1ea300 (diff)
downloadast2050-flashrom-1db2b759026debc8f1cd45f3182b9e14124f9c7e.zip
ast2050-flashrom-1db2b759026debc8f1cd45f3182b9e14124f9c7e.tar.gz
Add entries of W25x32 and W25x64
The model_ids are already in the header. W25x32 has been successfully probed. W25x64 is not available, the entry is based on the datasheet. Corresponding to flashrom svn r782. Signed-off-by: Zheng Bao <zheng.bao@amd.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-rw-r--r--flashchips.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index 490783e..8618c46 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3038,6 +3038,38 @@ struct flashchip flashchips[] = {
{
.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,
OpenPOWER on IntegriCloud