summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-10-20 09:13:16 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-10-20 09:13:16 +0000
commitd7d423bbc1d2564c60daaecd9ab1dca3843c5fea (patch)
treebc9d591677afbe3dae8f9a01a70f95f9487982a7 /flashchips.c
parent99f947ddc8156eb37b5dafc076480f405c9be0b6 (diff)
downloadflashrom-d7d423bbc1d2564c60daaecd9ab1dca3843c5fea.tar.gz
flashrom-d7d423bbc1d2564c60daaecd9ab1dca3843c5fea.tar.bz2
flashrom-d7d423bbc1d2564c60daaecd9ab1dca3843c5fea.zip
Add a bunch of new/tested stuff and various small changes 15
Tested Mainboards: OK: - Foxconn P55MX http://www.flashrom.org/pipermail/flashrom/2012-October/010002.html Tested flash chips: - Eon EN25F64 to PR (+PR) http://paste.flashrom.org/view.php?id=1426 - Macronix MX25L1005 to PREW (+PREW) http://www.flashrom.org/pipermail/flashrom/2012-October/010004.html - Set SST39VF512 to PREW (+W) http://www.flashrom.org/pipermail/flashrom/2012-September/009958.html Tested chipsets: - Z77 (only reading was really tested) Miscellaneous: - Fix ft2232_spi's parameter parsing. - Fix nicrealtek's init (always segfaulted since r1586 oops). - Add another T60 variant to the laptop whitelist. - Improve message shown when image file size does not match flash chip - Refine messages regarding the flash descriptor override strap according to the findings by Vladislav Bykov on his P55MX. - Fix the ID of EN25F64. - Demote and clarify debug message in serprog_delay(). - Minor other cleanups. Corresponding to flashrom svn r1613. 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.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/flashchips.c b/flashchips.c
index 4e09ab11c..e1a0c4203 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -954,7 +954,7 @@ const struct flashchip flashchips[] = {
}, {
.eraseblocks = { { 64 * 1024, 1 } },
.block_erase = spi_block_erase_c7,
- }
+ }
},
.printlock = spi_prettyprint_status_register_amic_a25l40p,
.unlock = spi_disable_blockprotect,
@@ -986,7 +986,7 @@ const struct flashchip flashchips[] = {
}, {
.eraseblocks = { { 128 * 1024, 1 } },
.block_erase = spi_block_erase_c7,
- }
+ }
},
.printlock = spi_prettyprint_status_register_amic_a25l40p,
.unlock = spi_disable_blockprotect,
@@ -1018,7 +1018,7 @@ const struct flashchip flashchips[] = {
}, {
.eraseblocks = { { 256 * 1024, 1 } },
.block_erase = spi_block_erase_c7,
- }
+ }
},
.printlock = spi_prettyprint_status_register_amic_a25l40p,
.unlock = spi_disable_blockprotect,
@@ -1050,7 +1050,7 @@ const struct flashchip flashchips[] = {
}, {
.eraseblocks = { { 512 * 1024, 1 } },
.block_erase = spi_block_erase_c7,
- }
+ }
},
.printlock = spi_prettyprint_status_register_amic_a25l40p,
.unlock = spi_disable_blockprotect,
@@ -1082,7 +1082,7 @@ const struct flashchip flashchips[] = {
}, {
.eraseblocks = { { 1024 * 1024, 1 } },
.block_erase = spi_block_erase_c7,
- }
+ }
},
.printlock = spi_prettyprint_status_register_amic_a25l40p,
.unlock = spi_disable_blockprotect,
@@ -1114,7 +1114,7 @@ const struct flashchip flashchips[] = {
}, {
.eraseblocks = { { 2048 * 1024, 1 } },
.block_erase = spi_block_erase_c7,
- }
+ }
},
.printlock = spi_prettyprint_status_register_amic_a25l40p,
.unlock = spi_disable_blockprotect,
@@ -1153,7 +1153,7 @@ const struct flashchip flashchips[] = {
}, {
.eraseblocks = { { 4096 * 1024, 1 } },
.block_erase = spi_block_erase_c7,
- }
+ }
},
.printlock = spi_prettyprint_status_register_amic_a25l032,
.unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */
@@ -1192,7 +1192,7 @@ const struct flashchip flashchips[] = {
}, {
.eraseblocks = { { 4096 * 1024, 1 } },
.block_erase = spi_block_erase_c7,
- }
+ }
},
.printlock = spi_prettyprint_status_register_amic_a25lq032,
.unlock = NULL, /* Two status reg bytes (read with 0x35 and 0x05) */
@@ -3413,11 +3413,11 @@ const struct flashchip flashchips[] = {
.name = "EN25F64",
.bustype = BUS_SPI,
.manufacture_id = EON_ID_NOPREFIX,
- .model_id = EON_EN25F32,
+ .model_id = EON_EN25F64,
.total_size = 8192,
.page_size = 256,
.feature_bits = FEATURE_WRSR_WREN,
- .tested = TEST_UNTESTED,
+ .tested = TEST_OK_PR,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.block_erasers =
@@ -4680,7 +4680,7 @@ const struct flashchip flashchips[] = {
.total_size = 128,
.page_size = 256,
.feature_bits = FEATURE_WRSR_WREN,
- .tested = TEST_UNTESTED,
+ .tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.block_erasers =
@@ -7053,7 +7053,7 @@ const struct flashchip flashchips[] = {
.total_size = 64,
.page_size = 4096,
.feature_bits = FEATURE_EITHER_RESET,
- .tested = TEST_OK_PRE,
+ .tested = TEST_OK_PREW,
.probe = probe_jedec,
.probe_timing = 1, /* 150 ns */
.block_erasers =