Add Winbond W39V080A support
Corresponding to flashrom svn r92 and coreboot v2 svn r2565.
Signed-off-by: David Hendricks <david.hendricks@gmail.com>
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
diff --git a/README b/README
index 3114ad0..d74c9c4 100644
--- a/README
+++ b/README
@@ -131,6 +131,7 @@
Winbond W49V002FA
Winbond W39V040A
Winbond W39V040B
+Winbond W39V080A
Supported Southbridges
diff --git a/flash.h b/flash.h
index d855e41..9f2da65 100644
--- a/flash.h
+++ b/flash.h
@@ -97,6 +97,7 @@
#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 8d9944b..c4ae6f4 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -107,6 +107,8 @@
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,