summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 12be20dcf9..06b58032e3 100644
--- a/util/flashrom/README
+++ b/util/flashrom/README
@@ -149,6 +149,7 @@ SyncMOS S29C51004T/B
SyncMOS S29C31004T
Winbond W29C011
Winbond W29C020C
+Winbond W29C040P
Winbond W49F002U
Winbond W49V002A
Winbond W49V002FA
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index 55e218c75f..850bf33a2f 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -101,6 +101,7 @@ extern struct flashchip flashchips[];
#define WINBOND_ID 0xDA /* Winbond */
#define W_29C011 0xC1
#define W_29C020C 0x45
+#define W_29C040P 0x46
#define W_39V040FA 0x34
#define W_39V040A 0x3D
#define W_39V040B 0x54
diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c
index aeca7bcdbe..291530794e 100644
--- a/util/flashrom/flashchips.c
+++ b/util/flashrom/flashchips.c
@@ -82,6 +82,8 @@ struct flashchip flashchips[] = {
probe_jedec, erase_chip_jedec, write_49fl004},
{"W29C011", WINBOND_ID, W_29C011, 128, 128,
probe_jedec, erase_chip_jedec, write_jedec},
+ {"W29C040P", WINBOND_ID, W_29C040P, 512, 256,
+ probe_jedec, erase_chip_jedec, write_jedec},
{"W29C020C", WINBOND_ID, W_29C020C, 256, 128,
probe_jedec, erase_chip_jedec, write_jedec},
{"W49F002U", WINBOND_ID, W_49F002U, 256, 128,