1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 14:33:18 +02:00

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>
This commit is contained in:
Stefan Tauner
2012-10-20 09:13:16 +00:00
parent 99f947ddc8
commit d7d423bbc1
9 changed files with 41 additions and 43 deletions

View File

@ -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 =