mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 06:23:18 +02:00
Activate proper support for EN29F002(A)(N)[BT]
Fully tested for Probe/Read/Erase/Write on EN29F002NT. Jedec subroutines 'probe_jedec()' and 'erase_chip_jedec()' are still in use, but a tailored 'write_en29f002a()' is needed due to a byte wise writing mechanism for this chip. Corresponding to flashrom svn r316 and coreboot v2 svn r3602. Signed-off-by: Mats Erik Andersson <mats.andersson@gisladisker.se> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:

committed by
Uwe Hermann

parent
3d20d901ec
commit
44e1a19467
5
flash.h
5
flash.h
@ -435,6 +435,11 @@ int probe_29f040b(struct flashchip *flash);
|
||||
int erase_29f040b(struct flashchip *flash);
|
||||
int write_29f040b(struct flashchip *flash, uint8_t *buf);
|
||||
|
||||
/* en29f002a.c */
|
||||
int probe_en29f002a(struct flashchip *flash);
|
||||
int erase_en29f002a(struct flashchip *flash);
|
||||
int write_en29f002a(struct flashchip *flash, uint8_t *buf);
|
||||
|
||||
/* ichspi.c */
|
||||
int ich_spi_command(unsigned int writecnt, unsigned int readcnt, const unsigned char *writearr, unsigned char *readarr);
|
||||
int ich_spi_read(struct flashchip *flash, uint8_t * buf);
|
||||
|
Reference in New Issue
Block a user