Complete the addition of Feature Bits for all Jedec based chips. Add FEATURE_SHORT_RESET, FEATURE_LONG_RESET, and FEATURE_EITHER_RESET rewrite jedec functions to use getaddrmask
convert write_49f002 to write_jedec_1 convert write_w39v040c to write_jedec_1 convert probe_w39v040c to probe_jedec convert write_49lf040 to write_jedec_1 convert write_pm29f002 to write_jedec convert write_29f040b to write_jedec_1 convert probe_29f040b to probe_jedec convert erase_chip_29f040b to erase_chip_block_jedec convert erase_sector_29f040b to erase_sector_jedec convert write_m29f002b to write_jedec convert write_m29f002t to write_jedec convert *_29f002 to *_jedec
decouple unused files from Makefile: am29f040b.c en29f002a.c m29f002.c mx29f002.c pm29f002.c sst49lf040.c w39v040c.c w49f002u.c
Signed-off-by: Sean Nelson audiohacked@gmail.com
---
On 1/23/2010 6:28 PM, Carl-Daniel Hailfinger wrote:
--- a/jedec.c +++ b/jedec.c @@ -23,14 +23,15 @@ */
#include "flash.h"
#define MAX_REFLASH_TRIES 0x10 #define MASK_FULL 0xffff #define MASK_2AA 0x7ff +#define MASK_AAA 0xfff
Umm. Does this mean we have 555/2AA/555 and 555/AAA/555 chips?
Yes, the ST M29F002T/NT/B and the Eon EN29F002A(N) uses the 555/AAA/555 address order scheme. There is one chipdriver that uses a AAA/555/AAA order scheme which is why some chips has FEATURE_ADDR_555 set for them.
We can delete the unused chip-drivers when we are sure that everything we can do generically can be done.
P.S. Oddly enough I can follow everything Carl-Daniel is talking about in his emails.