summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Boas <ryven@ryven.de>2007-08-30 10:11:08 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-08-30 10:11:08 +0000
commit3b78de6887bc7c3ba0210365e42af071202000a4 (patch)
tree9c1f4fa36fa2e07515842128c9ccab6b70d88d49
parent6c71f7378606cf8777ac0e01abce6e6ad5e48cd2 (diff)
Add support for the Winbond W29C040P.
Signed-off-by: Markus Boas <ryven@ryven.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2752 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 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,