[flashrom] [PATCH] winbondw25x32/64 support
Bao, Zheng
Zheng.Bao at amd.com
Thu Nov 26 09:55:00 CET 2009
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 at amd.com>
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,
More information about the flashrom
mailing list