Author: uwe
Date: 2007-05-21 23:39:08 +0200 (Mon, 21 May 2007)
New Revision: 2686
Modified:
trunk/LinuxBIOSv2/util/flashrom/README
trunk/LinuxBIOSv2/util/flashrom/flash.h
trunk/LinuxBIOSv2/util/flashrom/flashchips.c
Log:
Add support for the Winbond W39V040FA chip.
Signed-off-by: Uwe Hermann <uwe(a)hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan(a)coresystems.de>
Modified: trunk/LinuxBIOSv2/util/flashrom/README
===================================================================
--- trunk/LinuxBIOSv2/util/flashrom/README 2007-05-21 21:36:03 UTC (rev 2685)
+++ trunk/LinuxBIOSv2/util/flashrom/README 2007-05-21 21:39:08 UTC (rev 2686)
@@ -140,6 +140,7 @@
Winbond W49F002U
Winbond W49V002A
Winbond W49V002FA
+Winbond W39V040FA
Winbond W39V040A
Winbond W39V040B
Winbond W39V080A
Modified: trunk/LinuxBIOSv2/util/flashrom/flash.h
===================================================================
--- trunk/LinuxBIOSv2/util/flashrom/flash.h 2007-05-21 21:36:03 UTC (rev 2685)
+++ trunk/LinuxBIOSv2/util/flashrom/flash.h 2007-05-21 21:39:08 UTC (rev 2686)
@@ -99,6 +99,7 @@
#define WINBOND_ID 0xDA /* Winbond */
#define W_29C011 0xC1
#define W_29C020C 0x45
+#define W_39V040FA 0x34
#define W_39V040A 0x3D
#define W_39V040B 0x54
#define W_39V080A 0xD0
Modified: trunk/LinuxBIOSv2/util/flashrom/flashchips.c
===================================================================
--- trunk/LinuxBIOSv2/util/flashrom/flashchips.c 2007-05-21 21:36:03 UTC (rev 2685)
+++ trunk/LinuxBIOSv2/util/flashrom/flashchips.c 2007-05-21 21:39:08 UTC (rev 2686)
@@ -105,6 +105,8 @@
probe_jedec, erase_chip_jedec, write_49f002, NULL},
{"W49V002FA", WINBOND_ID, W_49V002FA, NULL, 256, 128,
probe_jedec, erase_chip_jedec, write_49f002, NULL},
+ {"W39V040FA", WINBOND_ID, W_39V040FA, NULL, 512, 64*1024,
+ probe_jedec, erase_chip_jedec, write_39sf020, NULL},
{"W39V040A", WINBOND_ID, W_39V040A, NULL, 512, 64*1024,
probe_jedec, erase_chip_jedec, write_39sf020, NULL},
{"W39V040B", WINBOND_ID, W_39V040B, NULL, 512, 64*1024,