From 1db2b759026debc8f1cd45f3182b9e14124f9c7e Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Thu, 26 Nov 2009 11:05:01 +0000 Subject: 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 Acked-by: Carl-Daniel Hailfinger --- flashchips.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) 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, -- cgit v1.1