From db8b13ac5399e15b452e10671ba71a2280ae0bfd Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 14 Jun 2006 15:58:41 +0000 Subject: [PATCH] Add support for Winbond W49V002A Corresponding to flashrom svn r53 and coreboot v2 svn r2321. --- flash.h | 1 + flashchips.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/flash.h b/flash.h index 3e67e18b2..673f8b698 100644 --- a/flash.h +++ b/flash.h @@ -59,6 +59,7 @@ extern struct flashchip flashchips[]; #define W_29C020C 0x45 /* Winbond w29c020c device code */ #define W_39V040A 0x3D /* Winbond w39v040a device code */ #define W_49F002U 0x0B /* Winbond w49F002u device code */ +#define W_49V002A 0xB0 /* Winbond W49V002A device code */ #define ST_ID 0x20 #define ST_M29F040B 0xE2 diff --git a/flashchips.c b/flashchips.c index c7a2cb58c..5b5928e8f 100644 --- a/flashchips.c +++ b/flashchips.c @@ -80,6 +80,8 @@ struct flashchip flashchips[] = { probe_jedec, erase_chip_jedec, write_jedec, NULL}, {"W49F002U", WINBOND_ID, W_49F002U, NULL, 256, 128, probe_jedec, erase_chip_jedec, write_49f002, NULL}, + {"W49V002A", WINBOND_ID, W_49V002A, NULL, 256, 128, + probe_jedec, erase_chip_jedec, write_49f002, NULL}, {"W39V040A", WINBOND_ID, W_39V040A, NULL, 512, 64*1024, probe_jedec, erase_chip_jedec, write_39sf020, NULL}, {"M29F040B", ST_ID, ST_M29F040B, NULL, 512, 64 * 1024,