On 31.08.2007 21:40, Markus Boas wrote:
I send a patch to add support for the EON EN29F002NT Write, read works.
Sorry, but the data sheet says you're only doing half of the identification and this will match all EON chips.
I'll send a more correct patch later on.
Carl-Daniel
Signed-off-by: Markus Boas ryven@ryven.de
Index: flash.h
--- flash.h (Revision 2754) +++ flash.h (Arbeitskopie) @@ -68,6 +68,9 @@ #define AT_29C040A 0xA4 #define AT_29C020 0xDA
+#define EON_ID 0x7F /* EON */ +#define EN29F002T 0x7F
#define MX_ID 0xC2 /* Macronix (MX) */ #define MX_29F002 0xB0
Index: README
--- README (Revision 2754) +++ README (Arbeitskopie) @@ -103,6 +103,7 @@ Atmel AT-29C040A Atmel AT-29C020 EMST F49B002UA +EON EN29F002N Intel 82802AB (Firmware Hub) Intel 82802AC (Firmware Hub) M-Systems MD-2802 (unsupported, disabled by default) Index: flashchips.c =================================================================== --- flashchips.c (Revision 2754) +++ flashchips.c (Arbeitskopie) @@ -151,5 +151,7 @@ probe_jedec, erase_chip_jedec, write_49f002}, {"S29C31004T", SYNCMOS_ID, S29C31004T, 512, 128, probe_jedec, erase_chip_jedec, write_49f002},
- {"EN29F002T", EON_ID, EN29F002T, 256, 16,
{NULL,}probe_jedec, erase_chip_jedec, write_jedec},
};