mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 06:23:18 +02:00
Fix PMC Pm25LV512 and Pm25LV010 probing
Apparently PMC did not understand the purpose of the JEDEC continuation code. These chips reply to RES (the only supported ID command) with the prefix-less vendor ID, a device ID, eventually followed by the continuation byte for the vendor ID. This fix uses only the first two bytes instead of appending the continuation code to the device ID. The problem was reported by The Raven who also tested the fix on a Pm25LV010 (with an imprint of "Pm25LV010E"). Corresponding to flashrom svn r1806. 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:
10
flashchips.c
10
flashchips.c
@ -8595,13 +8595,13 @@ const struct flashchip flashchips[] = {
|
||||
.vendor = "PMC",
|
||||
.name = "Pm25LV512(A)",
|
||||
.bustype = BUS_SPI,
|
||||
.manufacture_id = PMC_ID,
|
||||
.manufacture_id = PMC_ID_NOPREFIX,
|
||||
.model_id = PMC_PM25LV512,
|
||||
.total_size = 64,
|
||||
.page_size = 256,
|
||||
.feature_bits = FEATURE_WRSR_WREN,
|
||||
.tested = TEST_UNTESTED,
|
||||
.probe = probe_spi_res3,
|
||||
.probe = probe_spi_res2, /* The continuation code is transferred as the 3rd byte m( */
|
||||
.probe_timing = TIMING_ZERO,
|
||||
.block_erasers =
|
||||
{
|
||||
@ -8627,13 +8627,13 @@ const struct flashchip flashchips[] = {
|
||||
.vendor = "PMC",
|
||||
.name = "Pm25LV010",
|
||||
.bustype = BUS_SPI,
|
||||
.manufacture_id = PMC_ID,
|
||||
.manufacture_id = PMC_ID_NOPREFIX,
|
||||
.model_id = PMC_PM25LV010,
|
||||
.total_size = 128,
|
||||
.page_size = 256,
|
||||
.feature_bits = FEATURE_WRSR_WREN,
|
||||
.tested = TEST_UNTESTED,
|
||||
.probe = probe_spi_res3,
|
||||
.tested = TEST_OK_PREW,
|
||||
.probe = probe_spi_res2, /* The continuation code is transferred as the 3rd byte m( */
|
||||
.probe_timing = TIMING_ZERO,
|
||||
.block_erasers =
|
||||
{
|
||||
|
Reference in New Issue
Block a user