summaryrefslogtreecommitdiff
path: root/util/flashrom/flash.h
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-01-26 06:42:02 +0000
committerPeter Stuge <peter@stuge.se>2009-01-26 06:42:02 +0000
commitc39cb144e997a35f294b2b38377d14aab7825f18 (patch)
tree7977d7a05db7ac35b4fb3fc866123f034f5a8f85 /util/flashrom/flash.h
parentf3bc765493861f68011aa3f9ece19bb397e2453e (diff)
downloadcoreboot-c39cb144e997a35f294b2b38377d14aab7825f18.tar.xz
flashrom: Driver for ST M29F002T/NT/B. T/NT TEST_OK_ PROBE READ ERASE WRITE
Test report from Julia. Thanks! Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Julia Longtin <juri@solarnetone.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3917 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flash.h')
-rw-r--r--util/flashrom/flash.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h
index c74bacb399..3985c600db 100644
--- a/util/flashrom/flash.h
+++ b/util/flashrom/flash.h
@@ -579,6 +579,11 @@ int erase_block_jedec(volatile uint8_t *bios, unsigned int page);
int write_sector_jedec(volatile uint8_t *bios, uint8_t *src,
volatile uint8_t *dst, unsigned int page_size);
+/* m29f002.c */
+int erase_m29f002(struct flashchip *flash);
+int write_m29f002t(struct flashchip *flash, uint8_t *buf);
+int write_m29f002b(struct flashchip *flash, uint8_t *buf);
+
/* m29f400bt.c */
int probe_m29f400bt(struct flashchip *flash);
int erase_m29f400bt(struct flashchip *flash);