summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hendricks <david.hendricks@gmail.com>2007-03-02 02:25:36 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-03-02 02:25:36 +0000
commit53b9c1e798c00b790d346d8460c5a216d851af09 (patch)
tree652cd02b0b8ca5c9e26144b4e2a581b2bd6d4f87
parent811f5c10eed458dab58cb2fcea5c95b2851ab353 (diff)
downloadcoreboot-53b9c1e798c00b790d346d8460c5a216d851af09.tar.xz
Add Winbond W39V080A support to Flashrom.
Signed-off-by: David Hendricks <david.hendricks@gmail.com> Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2565 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--util/flashrom/README1
-rw-r--r--util/flashrom/flash.h1
-rw-r--r--util/flashrom/flashchips.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/util/flashrom/README b/util/flashrom/README
index 3114ad02c5..d74c9c4a66 100644
--- a/util/flashrom/README
+++ b/util/flashrom/README
@@ -131,6 +131,7 @@ Winbond W49V002A
Winbond W49V002FA
Winbond W39V040A
Winbond W39V040B
+Winbond W39V080A
Supported Southbridges
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index d855e41763..9f2da65b86 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -97,6 +97,7 @@ extern struct flashchip flashchips[];
#define W_29C020C 0x45 /* Winbond w29c020c device code */
#define W_39V040A 0x3D /* Winbond w39v040a device code */
#define W_39V040B 0x54 /* Winbond w39v040b device code */
+#define W_39V080A 0xD0 /* Winbond w39v080a 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 */
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index 8d9944bfc4..c4ae6f4d7a 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -107,6 +107,8 @@ struct flashchip flashchips[] = {
probe_jedec, erase_chip_jedec, write_39sf020, NULL},
{"W39V040B", WINBOND_ID, W_39V040B, NULL, 512, 64*1024,
probe_jedec, erase_chip_jedec, write_39sf020, NULL},
+ {"W39V080A", WINBOND_ID, W_39V080A, NULL, 1024, 64*1024,
+ probe_jedec, erase_chip_jedec, write_39sf020, NULL},
{"M29F040B", ST_ID, ST_M29F040B, NULL, 512, 64 * 1024,
probe_29f040b, erase_29f040b, write_29f040b, NULL},
{"M29F400BT", ST_ID, ST_M29F400BT, NULL, 512, 64 * 1024,