From 71437d076f7621809112d9ecb200ea45dfa492e9 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 Corresponding to flashrom svn r92 and coreboot v2 svn r2565. Signed-off-by: David Hendricks Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann --- README | 1 + flash.h | 1 + flashchips.c | 2 ++ 3 files changed, 4 insertions(+) diff --git a/README b/README index 3114ad02c..d74c9c4a6 100644 --- a/README +++ b/README @@ -131,6 +131,7 @@ Winbond W49V002A Winbond W49V002FA Winbond W39V040A Winbond W39V040B +Winbond W39V080A Supported Southbridges diff --git a/flash.h b/flash.h index d855e4176..9f2da65b8 100644 --- a/flash.h +++ b/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/flashchips.c b/flashchips.c index 8d9944bfc..c4ae6f4d7 100644 --- a/flashchips.c +++ b/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,