summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorAntony Rheneus <rheneus.paul@gmail.com>2011-05-26 14:28:51 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2011-05-26 14:28:51 +0000
commit501c6a189583de0bf21ea4458667e4e109e2349e (patch)
tree3bdc4193cc4e48a8ba2d1fb134b82bcffc77b496 /flashchips.c
parent3a3aa5e5bbebe47b5d8ba56545a2e06dd2507824 (diff)
downloadflashrom-501c6a189583de0bf21ea4458667e4e109e2349e.zip
flashrom-501c6a189583de0bf21ea4458667e4e109e2349e.tar.gz
Add a bunch of new/tested motherboards, board enables and flash chips
Tested motherboards: - MSI MS-7599 (870-C45) http://www.flashrom.org/pipermail/flashrom/2011-May/006420.html - Gigabyte GA-P55A-UD4 (rev 1.0) http://www.flashrom.org/pipermail/flashrom/2011-May/006415.html - Supermicro X8DTU-F http://www.flashrom.org/pipermail/flashrom/2011-May/006329.html - Supermicro X8STi http://www.flashrom.org/pipermail/flashrom/2011-May/006436.html tested board enable: - abit NF-M2 nView success report (without a log though): http://www.flashrom.org/pipermail/flashrom/2011-April/006167.html tested flash chips: - ST M50FW080 (+EW) http://www.flashrom.org/pipermail/flashrom/2011-May/006409.html - ST M25P32 (+EW) http://www.flashrom.org/pipermail/flashrom/2011-May/006398.html - Winbond W25x64 (+P) http://www.flashrom.org/pipermail/flashrom/2011-March/006012.html - Winbond W39V040FA (+W) http://www.flashrom.org/pipermail/flashrom/2010-December/005642.html new flash chip - Winbond W25Q128 http://www.flashrom.org/pipermail/flashrom/2011-April/006309.html W25Q128 is: everything else is: Corresponding to flashrom svn r1320. Signed-off-by: Antony Rheneus <rheneus.paul@gmail.com> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c46
1 files changed, 41 insertions, 5 deletions
diff --git a/flashchips.c b/flashchips.c
index d1bf2fe..a1e3441 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -6467,7 +6467,7 @@ const struct flashchip flashchips[] = {
.model_id = ST_M25P32,
.total_size = 4096,
.page_size = 256,
- .tested = TEST_OK_PR,
+ .tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.block_erasers =
@@ -7064,7 +7064,7 @@ const struct flashchip flashchips[] = {
.total_size = 1024,
.page_size = 64 * 1024,
.feature_bits = FEATURE_REGISTERMAP,
- .tested = TEST_OK_PR,
+ .tested = TEST_OK_PREW,
.probe = probe_82802ab,
.probe_timing = TIMING_IGNORED, /* routine don't use probe_timing (82802ab.c) */
.block_erasers =
@@ -7525,6 +7525,42 @@ const struct flashchip flashchips[] = {
{
.vendor = "Winbond",
+ .name = "W25Q128",
+ .bustype = CHIP_BUSTYPE_SPI,
+ .manufacture_id = WINBOND_NEX_ID,
+ .model_id = WINBOND_NEX_W25Q128,
+ .total_size = 16384,
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_OK_PROBE,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 4096} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {32 * 1024, 512} },
+ .block_erase = spi_block_erase_52,
+ }, {
+ .eraseblocks = { {64 * 1024, 256} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {16 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_60,
+ }, {
+ .eraseblocks = { {16 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ }
+ },
+ .unlock = spi_disable_blockprotect,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read,
+ },
+
+ {
+ .vendor = "Winbond",
.name = "W25x10",
.bustype = CHIP_BUSTYPE_SPI,
.manufacture_id = WINBOND_NEX_ID,
@@ -7724,7 +7760,7 @@ const struct flashchip flashchips[] = {
.total_size = 8192,
.page_size = 256,
.feature_bits = FEATURE_WRSR_WREN,
- .tested = TEST_UNTESTED,
+ .tested = TEST_OK_PROBE,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.block_erasers =
@@ -7963,9 +7999,9 @@ const struct flashchip flashchips[] = {
.total_size = 512,
.page_size = 64 * 1024,
.feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET,
- .tested = TEST_OK_PRE,
+ .tested = TEST_OK_PREW,
.probe = probe_jedec,
- .probe_timing = 10,
+ .probe_timing = 10,
.block_erasers =
{
{
OpenPOWER on IntegriCloud