diff options
author | Peter Stuge <peter@stuge.se> | 2009-01-26 06:42:02 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-01-26 06:42:02 +0000 |
commit | af8ffac0a7f2fa12e18869b08c17caabe9ced45a (patch) | |
tree | e4d22f5af74983b972f6a41f3e7c6fa8c9eca894 /flash.h | |
parent | c6e905575f82311d07bd9800f81f70d61a93bc00 (diff) | |
download | ast2050-flashrom-af8ffac0a7f2fa12e18869b08c17caabe9ced45a.zip ast2050-flashrom-af8ffac0a7f2fa12e18869b08c17caabe9ced45a.tar.gz |
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 <peter@stuge.se>
Acked-by: Julia Longtin <juri@solarnetone.org>
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |