[LinuxBIOS] [PATCH] Add Winbond W39V080A support to Flashrom

David Hendricks david.hendricks at gmail.com
Fri Mar 2 00:43:35 CET 2007


Oops! Thanks for the advice, I've been out of the loop for the past few
years but hope to get back into the swing of things here with school out of
the way <grin>.

I've re-attached my patch and have posted it here for those with strict mail
filters since it's small.

Signed-off-by: David Hendricks <david.hendricks at gmail.com>

-----BEGIN PATCH-----
diff -Nru -x .svn a/flash.h b/flash.h
--- a/flash.h   2007-03-01 13:00:52.000000000 -0800
+++ b/flash.h   2007-03-01 12:59:57.000000000 -0800
@@ -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 w39v040b 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 -Nru -x .svn a/flashchips.c b/flashchips.c
--- a/flashchips.c      2007-03-01 13:00:52.000000000 -0800
+++ b/flashchips.c      2007-03-01 12:59:57.000000000 -0800
@@ -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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070301/d52720d9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom_w39v080a.patch
Type: text/x-patch
Size: 1281 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070301/d52720d9/attachment.patch>


More information about the coreboot mailing list