From bc1f1a01e4505bd1a2de45b7a23038a53a184c0d Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 21 May 2007 21:39:08 +0000 Subject: Add support for the Winbond W39V040FA chip Corresponding to flashrom svn r110 and coreboot v2 svn r2686. Signed-off-by: Uwe Hermann Acked-by: Stefan Reinauer --- README | 1 + flash.h | 1 + flashchips.c | 2 ++ 3 files changed, 4 insertions(+) diff --git a/README b/README index 37b91d00a..b272a86af 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 3e3ad8482..6ced0f1f0 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 bf0a976da..07fc56dd0 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, -- cgit v1.2.3