From 9fd18dbe03fde4e2525fca1899024c177b420df4 Mon Sep 17 00:00:00 2001 From: uwe Date: Sat, 14 Apr 2012 22:51:40 +0000 Subject: 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 Acked-by: Uwe Hermann git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1521 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- chipdrivers.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chipdrivers.h') 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__ */ -- cgit v1.2.1