[LinuxBIOS] [PATCH] flashrom: support for SyncMOS S29C51001T/S29C51004T/S29C31004T
Uwe Hermann
uwe at hermann-uwe.de
Mon Nov 20 21:50:47 CET 2006
Add support for the SyncMOS S29C51001T, S29C51004T, and S29C31004T
flash chips to flashrom.
Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
---
On Mon, Nov 20, 2006 at 09:19:02AM +0100, Giampiero Giancipoli wrote:
> Support for the 256K SyncMos S29C51002T flash.
>
> Signed-off-by: Giampiero Giancipoli <gianci at email.it>
Committed, thanks!
I created a small patch for the rest of the SyncMOS chips I could find
datasheets for. Does the patch look sane? If you happen to have some
more SyncMOS chips it would be great if you could test those...
Cheers, Uwe.
--
http://www.hermann-uwe.de | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
Index: util/flashrom/flashchips.c
===================================================================
--- util/flashrom/flashchips.c (Revision 2499)
+++ util/flashrom/flashchips.c (Arbeitskopie)
@@ -114,8 +114,14 @@
#endif
{"LHF00L04", SHARP_ID, SHARP_LHF00L04, NULL, 1024, 64 * 1024,
probe_lhf00l04, erase_lhf00l04, write_lhf00l04, NULL},
+ {"S29C51001T", SM_ID, S29C51001T, NULL, 128, 128,
+ probe_jedec, erase_chip_jedec, write_49f002, NULL},
{"S29C51002T", SM_ID, S29C51002T, NULL, 256, 128,
probe_jedec, erase_chip_jedec, write_49f002, NULL},
+ {"S29C51004T", SM_ID, S29C51004T, NULL, 512, 128,
+ probe_jedec, erase_chip_jedec, write_49f002, NULL},
+ {"S29C31004T", SM_ID, S29C31004T, NULL, 512, 128,
+ probe_jedec, erase_chip_jedec, write_49f002, NULL},
{NULL,}
};
Index: util/flashrom/flash.h
===================================================================
--- util/flashrom/flash.h (Revision 2499)
+++ util/flashrom/flash.h (Arbeitskopie)
@@ -80,7 +80,10 @@
#define MSYSTEMS_MD2802 0x30 /* hmm -- both 0x30 */
#define SM_ID 0x40 /* SyncMOS ID */
-#define S29C51002T 0x02
+#define S29C51001T 0x01 /* SyncMOS S29C51001T/B */
+#define S29C51002T 0x02 /* SyncMOS S29C51002T/B */
+#define S29C51004T 0x03 /* SyncMOS S29C51004T/B */
+#define S29C31004T 0x63 /* SyncMOS S29C31004T */
extern void myusec_delay(int time);
extern void myusec_calibrate_delay();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20061120/7f81dcd1/attachment.sig>
More information about the coreboot
mailing list