summaryrefslogtreecommitdiff
path: root/chipdrivers.h
diff options
context:
space:
mode:
authoruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-04-14 22:51:40 +0000
committeruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2012-04-14 22:51:40 +0000
commit9fd18dbe03fde4e2525fca1899024c177b420df4 (patch)
tree758809500d91966064fb5ba3cd4c598e9525db8e /chipdrivers.h
parent1697b7b5cd6af6cf64bc9e4d944b0614ad58dfaa (diff)
downloadflashrom-9fd18dbe03fde4e2525fca1899024c177b420df4.tar.gz
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. Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1521 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'chipdrivers.h')
-rw-r--r--chipdrivers.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chipdrivers.h b/chipdrivers.h
index bd81098..e3eb978 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__ */