aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README1
-rw-r--r--flash.h1
-rw-r--r--flashchips.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/README b/README
index 37b91d00..b272a86a 100644
--- a/README
+++ b/README
@@ -140,6 +140,7 @@ Winbond W29C020C
Winbond W49F002U
Winbond W49V002A
Winbond W49V002FA
+Winbond W39V040FA
Winbond W39V040A
Winbond W39V040B
Winbond W39V080A
diff --git a/flash.h b/flash.h
index 3e3ad848..6ced0f1f 100644
--- a/flash.h
+++ b/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/flashchips.c b/flashchips.c
index bf0a976d..07fc56dd 100644
--- a/flashchips.c
+++ b/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,