summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/flashrom/flash.h1
-rw-r--r--util/flashrom/flashchips.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index 673f8b6981..775676ad48 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -52,6 +52,7 @@ extern struct flashchip flashchips[];
#define SST_49LF008A 0x5A /* SST 49LF008A device */
#define PMC_ID 0x9D /* PMC Manufacturer ID[B code */
+#define PMC_49FL002 0x6D /* PMC 49FL002 device code */
#define PMC_49FL004 0x6E /* PMC 49FL004 device code */
#define WINBOND_ID 0xDA /* Winbond Manufacture ID code */
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index 5b5928e8f2..fbaa49e8fb 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -72,6 +72,8 @@ struct flashchip flashchips[] = {
probe_sst_fwhub, erase_sst_fwhub, write_sst_fwhub,NULL},
{"SST49LF008A", SST_ID, SST_49LF008A, NULL, 1024, 64 * 1024 ,
probe_sst_fwhub, erase_sst_fwhub, write_sst_fwhub, NULL},
+ {"Pm49FL002", PMC_ID, PMC_49FL002, NULL, 256, 16 * 1024,
+ probe_jedec, erase_chip_jedec, write_49fl004,NULL},
{"Pm49FL004", PMC_ID, PMC_49FL004, NULL, 512, 64 * 1024,
probe_jedec, erase_chip_jedec, write_49fl004,NULL},
{"W29C011", WINBOND_ID, W_29C011, NULL, 128, 128,