path: root/flash.h
diff options
authorPeter Stuge <>2009-01-26 06:42:02 +0000
committerPeter Stuge <>2009-01-26 06:42:02 +0000
commitaf8ffac0a7f2fa12e18869b08c17caabe9ced45a (patch)
treee4d22f5af74983b972f6a41f3e7c6fa8c9eca894 /flash.h
parentc6e905575f82311d07bd9800f81f70d61a93bc00 (diff)
Driver for ST M29F002T/NT/B
T/NT TEST_OK_ PROBE READ ERASE WRITE Test report from Julia. Thanks! Corresponding to flashrom svn r409 and coreboot v2 svn r3917. Signed-off-by: Peter Stuge <> Acked-by: Julia Longtin <>
Diffstat (limited to 'flash.h')
1 files changed, 5 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index c74bacb..3985c60 100644
--- a/flash.h
+++ b/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);
OpenPOWER on IntegriCloud