aboutsummaryrefslogtreecommitdiff
path: root/util/flashrom
diff options
context:
space:
mode:
authorScott Tsai, scott.tsai <AT>2006-07-19 15:13:21 +0000
committerStefan Reinauer <stepan@openbios.org>2006-07-19 15:13:21 +0000
commite32243a9b1ee4b4008bed424908d98e99610b8ad (patch)
tree10e4081ff41cedb68660f9f5fab1118484020b1e /util/flashrom
parent792ebfecd35ae750dd9fc2c851760fe0bce2a62c (diff)
From: Scott Tsai, scott.tsai <AT> arima.com.tw
Tested on my home Shuttle SB51G box. data sheet: http://www.alldatasheet.com/datasheet-pdf/pdf/47674/WINBOND/W49V002FAP.html git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2341 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom')
-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 4c4c61f40f..6ec8e3110d 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -61,6 +61,7 @@ extern struct flashchip flashchips[];
#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/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index d7ff5a7ae5..c5e3d9e369 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -84,6 +84,8 @@ struct flashchip flashchips[] = {
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,