summaryrefslogtreecommitdiff
path: root/util/flashrom/flashchips.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/flashrom/flashchips.c')
-rw-r--r--util/flashrom/flashchips.c18
1 files changed, 16 insertions, 2 deletions
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index 964591ff50..89a37530b6 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -100,10 +100,22 @@ struct flashchip flashchips[] = {
probe_49lfxxxc, erase_49lfxxxc, write_49lfxxxc},
{"SST49LF160C", SST_ID, SST_49LF160C, 2048, 4 * 1024 ,
probe_49lfxxxc, erase_49lfxxxc, write_49lfxxxc},
- {"Pm49FL002", PMC_ID, PMC_49FL002, 256, 16 * 1024,
+ {"Pm49FL002", PMC_ID_NOPREFIX, PMC_49FL002, 256, 16 * 1024,
probe_jedec, erase_chip_jedec, write_49fl004},
- {"Pm49FL004", PMC_ID, PMC_49FL004, 512, 64 * 1024,
+ {"Pm49FL004", PMC_ID_NOPREFIX, PMC_49FL004, 512, 64 * 1024,
probe_jedec, erase_chip_jedec, write_49fl004},
+ {"Pm25LV512", PMC_ID, PMC_25LV512, 64, 256,
+ probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
+ {"Pm25LV010", PMC_ID, PMC_25LV010, 128, 256,
+ probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
+ {"Pm25LV020", PMC_ID, PMC_25LV020, 256, 256,
+ probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
+ {"Pm25LV040", PMC_ID, PMC_25LV040, 512, 256,
+ probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
+ {"Pm25LV080B", PMC_ID, PMC_25LV080B, 1024, 256,
+ probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
+ {"Pm25LV016B", PMC_ID, PMC_25LV016B, 2048, 256,
+ probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write, generic_spi_chip_read},
{"W29C011", WINBOND_ID, W_29C011, 128, 128,
probe_jedec, erase_chip_jedec, write_jedec},
{"W29C040P", WINBOND_ID, W_29C040P, 512, 256,
@@ -205,6 +217,8 @@ struct flashchip flashchips[] = {
probe_spi, NULL, NULL},
{"MX unknown SPI chip", MX_ID, GENERIC_DEVICE_ID, 0, 0,
probe_spi, NULL, NULL},
+ {"PMC unknown SPI chip", PMC_ID, GENERIC_DEVICE_ID, 0, 0,
+ probe_spi, NULL, NULL},
{"SST unknown SPI chip", SST_ID, GENERIC_DEVICE_ID, 0, 0,
probe_spi, NULL, NULL},
{"ST unknown SPI chip", ST_ID, GENERIC_DEVICE_ID, 0, 0,