Signed-off-by: Scott Tsai <scott.tsai@arima.com.tw>
Data sheet:
http://www.alldatasheet.com/datasheet-pdf/pdf/47674/WINBOND/W49V002FAP.html
Corresponding to flashrom svn r56 and coreboot v2 svn r2341.
diff --git a/flash.h b/flash.h
index 4c4c61f..6ec8e31 100644
--- a/flash.h
+++ b/flash.h
@@ -61,6 +61,7 @@
#define W_39V040A 0x3D /* Winbond w39v040a device code */
#define W_49F002U 0x0B /* Winbond w49F002u device code */
#define W_49V002A 0xB0 /* Winbond W49V002A device code */
+#define W_49V002FA 0x32 /* Winbond W49V002FA device code */
#define ST_ID 0x20
#define ST_M29F040B 0xE2
diff --git a/flashchips.c b/flashchips.c
index d7ff5a7..c5e3d9e 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -84,6 +84,8 @@
probe_jedec, erase_chip_jedec, write_49f002, NULL},
{"W49V002A", WINBOND_ID, W_49V002A, NULL, 256, 128,
probe_jedec, erase_chip_jedec, write_49f002, NULL},
+ {"W49V002FA", WINBOND_ID, W_49V002FA, NULL, 256, 128,
+ probe_jedec, erase_chip_jedec, write_49f002, NULL},
{"W39V040A", WINBOND_ID, W_39V040A, NULL, 512, 64*1024,
probe_jedec, erase_chip_jedec, write_39sf020, NULL},
{"M29F040B", ST_ID, ST_M29F040B, NULL, 512, 64 * 1024,