aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2006-06-14 15:58:41 +0000
committerStefan Reinauer <stefan.reinauer@coreboot.org>2006-06-14 15:58:41 +0000
commitdb8b13ac5399e15b452e10671ba71a2280ae0bfd (patch)
tree6daf48a57bcf807ed04ba9ae3d15bde68a16a696
parent023af76b2b3bc150d984fbad785e29f65219bcdd (diff)
downloadflashrom-db8b13ac5399e15b452e10671ba71a2280ae0bfd.tar.gz
flashrom-db8b13ac5399e15b452e10671ba71a2280ae0bfd.tar.bz2
flashrom-db8b13ac5399e15b452e10671ba71a2280ae0bfd.zip
Add support for Winbond W49V002A
Corresponding to flashrom svn r53 and coreboot v2 svn r2321.
-rw-r--r--flash.h1
-rw-r--r--flashchips.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 3e67e18b..673f8b69 100644
--- a/flash.h
+++ b/flash.h
@@ -59,6 +59,7 @@ extern struct flashchip flashchips[];
#define W_29C020C 0x45 /* Winbond w29c020c device code */
#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 ST_ID 0x20
#define ST_M29F040B 0xE2
diff --git a/flashchips.c b/flashchips.c
index c7a2cb58..5b5928e8 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -80,6 +80,8 @@ struct flashchip flashchips[] = {
probe_jedec, erase_chip_jedec, write_jedec, NULL},
{"W49F002U", WINBOND_ID, W_49F002U, NULL, 256, 128,
probe_jedec, erase_chip_jedec, write_49f002, NULL},
+ {"W49V002A", WINBOND_ID, W_49V002A, 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,