Add support for PMC 49FL002 as used in the RD1-PMC2
Corresponding to flashrom svn r54 and coreboot v2 svn r2332.
diff --git a/flash.h b/flash.h
index 673f8b6..775676a 100644
--- a/flash.h
+++ b/flash.h
@@ -52,6 +52,7 @@
#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/flashchips.c b/flashchips.c
index 5b5928e..fbaa49e 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -72,6 +72,8 @@
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,