From 53b9c1e798c00b790d346d8460c5a216d851af09 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Fri, 2 Mar 2007 02:25:36 +0000 Subject: [PATCH] Add Winbond W39V080A support to Flashrom. Signed-off-by: David Hendricks Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2565 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/README | 1 + util/flashrom/flash.h | 1 + util/flashrom/flashchips.c | 2 ++ 3 files changed, 4 insertions(+) diff --git a/util/flashrom/README b/util/flashrom/README index 3114ad02c..d74c9c4a6 100644 --- a/util/flashrom/README +++ b/util/flashrom/README @@ -131,6 +131,7 @@ Winbond W49V002A Winbond W49V002FA Winbond W39V040A Winbond W39V040B +Winbond W39V080A Supported Southbridges diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index d855e4176..9f2da65b8 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -97,6 +97,7 @@ extern struct flashchip flashchips[]; #define W_29C020C 0x45 /* Winbond w29c020c device code */ #define W_39V040A 0x3D /* Winbond w39v040a device code */ #define W_39V040B 0x54 /* Winbond w39v040b device code */ +#define W_39V080A 0xD0 /* Winbond w39v080a device code */ #define W_49F002U 0x0B /* Winbond w49F002u device code */ #define W_49V002A 0xB0 /* Winbond W49V002A device code */ #define W_49V002FA 0x32 /* Winbond W49V002FA device code */ diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index 8d9944bfc..c4ae6f4d7 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/flashchips.c @@ -107,6 +107,8 @@ struct flashchip flashchips[] = { probe_jedec, erase_chip_jedec, write_39sf020, NULL}, {"W39V040B", WINBOND_ID, W_39V040B, NULL, 512, 64*1024, probe_jedec, erase_chip_jedec, write_39sf020, NULL}, + {"W39V080A", WINBOND_ID, W_39V080A, NULL, 1024, 64*1024, + probe_jedec, erase_chip_jedec, write_39sf020, NULL}, {"M29F040B", ST_ID, ST_M29F040B, NULL, 512, 64 * 1024, probe_29f040b, erase_29f040b, write_29f040b, NULL}, {"M29F400BT", ST_ID, ST_M29F400BT, NULL, 512, 64 * 1024, -- 2.25.1