diff options
author | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2007-05-21 21:39:08 +0000 |
---|---|---|
committer | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2007-05-21 21:39:08 +0000 |
commit | 91063ec197a685d9723bbc87eac96407596cea76 (patch) | |
tree | 6bcefb2517a7c701a4c7b8332e26a4dd67f2700e | |
parent | 4bd6ce9542d4ff5242316249e1eb34d65f605772 (diff) | |
download | flashrom-91063ec197a685d9723bbc87eac96407596cea76.tar.gz |
Original v2 revision: 2686
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: https://code.coreboot.org/svn/flashrom/trunk@110 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | flash.h | 1 | ||||
-rw-r--r-- | flashchips.c | 2 |
3 files changed, 4 insertions, 0 deletions
@@ -140,6 +140,7 @@ Winbond W29C020C Winbond W49F002U Winbond W49V002A Winbond W49V002FA +Winbond W39V040FA Winbond W39V040A Winbond W39V040B Winbond W39V080A @@ -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 bf0a976..07fc56d 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, |