diff options
author | Sean Nelson <audiohacked@gmail.com> | 2010-01-19 16:08:51 +0000 |
---|---|---|
committer | Sean Nelson <audiohacked@gmail.com> | 2010-01-19 16:08:51 +0000 |
commit | 56358aae1d390780ad1d6e982eed5471b9fb749a (patch) | |
tree | 0f1598aa627845e8b02c82fe19d4c60e86990f1f /chipdrivers.h | |
parent | d38fac8c261e4d7e3857453dfb612b9094f63e95 (diff) | |
download | flashrom-56358aae1d390780ad1d6e982eed5471b9fb749a.tar.gz flashrom-56358aae1d390780ad1d6e982eed5471b9fb749a.tar.bz2 flashrom-56358aae1d390780ad1d6e982eed5471b9fb749a.zip |
Block eraser conversions and support for Eon EN25B series
Convert chips to block_erasers:
SyncMOS S29C31004T
SyncMOS S29C51001T
SyncMOS S29C51002T
SyncMOS S29C51004T
TI TMS29F002RT
TI TMS29F002RB
SyncMOS chips have Uniform sector; boot blocks on chips are made up of uniform sectors but have locking.
Corresponding to flashrom svn r871.
Signed-off-by: Sean Nelson <audiohacked@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'chipdrivers.h')
-rw-r--r-- | chipdrivers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chipdrivers.h b/chipdrivers.h index 496aa7e3..6e2edc6d 100644 --- a/chipdrivers.h +++ b/chipdrivers.h @@ -167,6 +167,9 @@ int write_49f002(struct flashchip *flash, uint8_t *buf); /* stm50flw0x0x.c */ int probe_stm50flw0x0x(struct flashchip *flash); int erase_stm50flw0x0x(struct flashchip *flash); +int erase_block_stm50flw0x0x(struct flashchip *flash, unsigned int block, unsigned int blocksize); +int erase_sector_stm50flw0x0x(struct flashchip *flash, unsigned int block, unsigned int blocksize); +int erase_chip_stm50flw0x0x(struct flashchip *flash, unsigned int addr, unsigned int blocklen); int write_stm50flw0x0x(struct flashchip *flash, uint8_t *buf); #endif /* !__CHIPDRIVERS_H__ */ |