[LinuxBIOS] flashrom: support for SyncMos S29C51002T

Giampiero Giancipoli gianci at email.it
Mon Nov 20 09:19:02 CET 2006


Support for the 256K SyncMos S29C51002T flash.

Signed-off-by: Giampiero Giancipoli <gianci at email.it>
--
-------------- next part --------------
Index: flash.h
===================================================================
--- flash.h	(revision 2497)
+++ flash.h	(working copy)
@@ -79,6 +79,9 @@
 #define MSYSTEMS_MD2800   0x30	/* hmm -- both 0x30 */
 #define MSYSTEMS_MD2802   0x30	/* hmm -- both 0x30 */
 
+#define SM_ID		  0x40  /* SyncMOS ID */
+#define S29C51002T	  0x02
+
 extern void myusec_delay(int time);
 extern void myusec_calibrate_delay();
 extern int enable_flash_write(void);
Index: flashchips.c
===================================================================
--- flashchips.c	(revision 2497)
+++ flashchips.c	(working copy)
@@ -114,6 +114,8 @@
 #endif
 	{"LHF00L04",	SHARP_ID,		SHARP_LHF00L04,		NULL, 1024, 64 * 1024,
 	 probe_lhf00l04, erase_lhf00l04,	write_lhf00l04,	NULL},
+	{"S29C51002T", 	SM_ID, 	S29C51002T,	NULL, 256, 128,
+	 probe_jedec,	erase_chip_jedec, write_49f002, NULL},
 	{NULL,}
 };
 
-------------- 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/49641b0b/attachment.sig>


More information about the coreboot mailing list