summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2008-07-21 17:48:40 +0000
committerPeter Stuge <peter@stuge.se>2008-07-21 17:48:40 +0000
commitcce2682d6e7275d7ae66bb7c1a50a84b834aaecf (patch)
treebd81dfe7220babdbfaa1f9ef0d88c20d251d628d /flash.h
parent85f8a1725f852104dd5f28179776d7d336f14d7f (diff)
downloadast2050-flashrom-cce2682d6e7275d7ae66bb7c1a50a84b834aaecf.zip
ast2050-flashrom-cce2682d6e7275d7ae66bb7c1a50a84b834aaecf.tar.gz
Winbond W39V040C and MSI K8T Neo2-F
W39V040C does standard JEDEC commands except chip erase so add a small driver. probe_w39v040c() prints the block lock pin status when a chip is found. The Neo2 board enable matches on 8237-internal IDE and onboard NIC PCI IDs. Many thanks to Daniel McLellan for testing all of this on hardware! Build tested by Uwe. Corresponding to flashrom svn r304 and coreboot v2 svn r3431. Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index a810a7c..7e1fab7 100644
--- a/flash.h
+++ b/flash.h
@@ -517,6 +517,11 @@ int probe_sst_fwhub(struct flashchip *flash);
int erase_sst_fwhub(struct flashchip *flash);
int write_sst_fwhub(struct flashchip *flash, uint8_t *buf);
+/* w39v040c.c */
+int probe_w39v040c(struct flashchip *flash);
+int erase_w39v040c(struct flashchip *flash);
+int write_w39v040c(struct flashchip *flash, uint8_t *buf);
+
/* w39V080fa.c */
int probe_winbond_fwhub(struct flashchip *flash);
int erase_winbond_fwhub(struct flashchip *flash);
OpenPOWER on IntegriCloud