summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-05-21 21:39:08 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-05-21 21:39:08 +0000
commitf8953dc0953ea74f42e442e857948589302f5476 (patch)
tree7fe1bd7c1aefba1cce97eefb82333fcc58a0466d /util
parent0af4856017431f0e9ef99e6a99e2a2da9f50f593 (diff)
Add support for the Winbond W39V040FA chip.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2686 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-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 37b91d00a4..b272a86af7 100644
--- a/util/flashrom/README
+++ b/util/flashrom/README
@@ -140,6 +140,7 @@ Winbond W29C020C
Winbond W49F002U
Winbond W49V002A
Winbond W49V002FA
+Winbond W39V040FA
Winbond W39V040A
Winbond W39V040B
Winbond W39V080A
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index 3e3ad84828..6ced0f1f01 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -99,6 +99,7 @@ extern struct flashchip flashchips[];
#define WINBOND_ID 0xDA /* Winbond */
#define W_29C011 0xC1
#define W_29C020C 0x45
+#define W_39V040FA 0x34
#define W_39V040A 0x3D
#define W_39V040B 0x54
#define W_39V080A 0xD0
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index bf0a976dac..07fc56dd06 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -105,6 +105,8 @@ struct flashchip flashchips[] = {
probe_jedec, erase_chip_jedec, write_49f002, NULL},
{"W49V002FA", WINBOND_ID, W_49V002FA, NULL, 256, 128,
probe_jedec, erase_chip_jedec, write_49f002, NULL},
+ {"W39V040FA", WINBOND_ID, W_39V040FA, NULL, 512, 64*1024,
+ probe_jedec, erase_chip_jedec, write_39sf020, NULL},
{"W39V040A", WINBOND_ID, W_39V040A, NULL, 512, 64*1024,
probe_jedec, erase_chip_jedec, write_39sf020, NULL},
{"W39V040B", WINBOND_ID, W_39V040B, NULL, 512, 64*1024,