diff options
author | Mats Erik Andersson <mats.andersson@gisladisker.se> | 2008-09-26 13:19:02 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-09-26 13:19:02 +0000 |
commit | 44e1a194678f33b5f660c2d387c4a4be0a50ffd8 (patch) | |
tree | cd26907682dc2637ded91420e082261e2bd6f373 /flash.h | |
parent | 3d20d901ec7afa4d39727765a77f292d6142d664 (diff) | |
download | ast2050-flashrom-44e1a194678f33b5f660c2d387c4a4be0a50ffd8.zip ast2050-flashrom-44e1a194678f33b5f660c2d387c4a4be0a50ffd8.tar.gz |
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>
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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); |