diff options
author | Peter Stuge <peter@stuge.se> | 2008-07-21 17:48:40 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2008-07-21 17:48:40 +0000 |
commit | ec9e6e33a4d08c4b5afcc51cc5a964e1208731fc (patch) | |
tree | 6f2933f17ba02d3a447b0113ade0e87aa338e3d4 /util/flashrom/flash.h | |
parent | 3d135e603343431aaef3ed770ddf16fcef4847ad (diff) |
flashrom: 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.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3431 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r-- | util/flashrom/flash.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index a810a7c2d7..7e1fab7eb3 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/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); |