[LinuxBIOS] r2499 - trunk/LinuxBIOSv2/util/flashrom

svn at openbios.org svn at openbios.org
Mon Nov 20 21:03:09 CET 2006


Author: uwe
Date: 2006-11-20 21:03:07 +0100 (Mon, 20 Nov 2006)
New Revision: 2499

Modified:
   trunk/LinuxBIOSv2/util/flashrom/flash.h
   trunk/LinuxBIOSv2/util/flashrom/flashchips.c
Log:
Support for the 256K SyncMos S29C51002T flash.

Signed-off-by: Giampiero Giancipoli <gianci at email.it>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>



Modified: trunk/LinuxBIOSv2/util/flashrom/flash.h
===================================================================
--- trunk/LinuxBIOSv2/util/flashrom/flash.h	2006-11-19 19:24:06 UTC (rev 2498)
+++ trunk/LinuxBIOSv2/util/flashrom/flash.h	2006-11-20 20:03:07 UTC (rev 2499)
@@ -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);

Modified: trunk/LinuxBIOSv2/util/flashrom/flashchips.c
===================================================================
--- trunk/LinuxBIOSv2/util/flashrom/flashchips.c	2006-11-19 19:24:06 UTC (rev 2498)
+++ trunk/LinuxBIOSv2/util/flashrom/flashchips.c	2006-11-20 20:03:07 UTC (rev 2499)
@@ -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,}
 };
 





More information about the coreboot mailing list