aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2006-06-14 15:58:41 +0000
committerStefan Reinauer <stepan@openbios.org>2006-06-14 15:58:41 +0000
commitf560285bd5362bb6a5e042b2df9afe696feb1bf1 (patch)
tree4d0ccf63f29fa26b932f2c456d80e826d63fa9a8 /util
parentfd14d4414aab2b196bdf4499a3590187bf9c782d (diff)
new flash part
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2321 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-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 3e67e18b2f..673f8b6981 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/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/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index c7a2cb58cb..5b5928e8f2 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/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,