diff options
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | flash.h | 1 | ||||
-rw-r--r-- | flashchips.c | 2 |
3 files changed, 4 insertions, 0 deletions
@@ -149,6 +149,7 @@ SyncMOS S29C51004T/B SyncMOS S29C31004T Winbond W29C011 Winbond W29C020C +Winbond W29C040P Winbond W49F002U Winbond W49V002A Winbond W49V002FA @@ -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/flashchips.c b/flashchips.c index aeca7bcd..29153079 100644 --- a/flashchips.c +++ b/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, |