diff options
author | Rudolf Marek <r.marek@assembler.cz> | 2012-04-14 22:51:40 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2012-04-14 22:51:40 +0000 |
commit | 47eff6b5b4e924627583f45f9b321119899a589c (patch) | |
tree | 758809500d91966064fb5ba3cd4c598e9525db8e /chipdrivers.h | |
parent | 1525b2ad16e07f035b1de70fadd05a7018ea5756 (diff) | |
download | flashrom-47eff6b5b4e924627583f45f9b321119899a589c.tar.gz flashrom-47eff6b5b4e924627583f45f9b321119899a589c.tar.bz2 flashrom-47eff6b5b4e924627583f45f9b321119899a589c.zip |
Add support for the Eon EN29LV640B chip
This chip needs special command sequences in 8 bit mode. Also, 8 bit
programming needs actually 16bit double byte program.
The chip is found on the Bifferos Bifferboard, for example.
Corresponding to flashrom svn r1521.
Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'chipdrivers.h')
-rw-r--r-- | chipdrivers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chipdrivers.h b/chipdrivers.h index bd81098f..e3eb978b 100644 --- a/chipdrivers.h +++ b/chipdrivers.h @@ -157,4 +157,10 @@ int probe_w29ee011(struct flashctx *flash); int erase_sector_stm50flw0x0x(struct flashctx *flash, unsigned int block, unsigned int blocksize); int unlock_stm50flw0x0x(struct flashctx *flash); +/* en29lv640b.c */ +int probe_en29lv640b(struct flashctx *flash); +int block_erase_en29lv640b(struct flashctx *flash, unsigned int start, unsigned int len); +int block_erase_chip_en29lv640b(struct flashctx *flash, unsigned int start, unsigned int len); +int write_en29lv640b(struct flashctx *flash, uint8_t *buf, unsigned int start, unsigned int len); + #endif /* !__CHIPDRIVERS_H__ */ |