svn commit: r240939 - head/sys/dev/flash

Aleksandr Rybalko ray at FreeBSD.org
Tue Sep 25 22:12:08 UTC 2012


Author: ray
Date: Tue Sep 25 22:12:07 2012
New Revision: 240939
URL: http://svn.freebsd.org/changeset/base/240939

Log:
  Add more SPI flash IDs.
  
  Submitted by:	Luiz Otavio O Souza.
  Submitted by:	ZRouter.org project.
  Approved by:	adrian (menthor)

Modified:
  head/sys/dev/flash/mx25l.c

Modified: head/sys/dev/flash/mx25l.c
==============================================================================
--- head/sys/dev/flash/mx25l.c	Tue Sep 25 22:10:14 2012	(r240938)
+++ head/sys/dev/flash/mx25l.c	Tue Sep 25 22:12:07 2012	(r240939)
@@ -96,15 +96,22 @@ static void mx25l_strategy(struct bio *b
 static void mx25l_task(void *arg);
 
 struct mx25l_flash_ident flash_devices[] = {
-	{ "mx25ll32",  0xc2, 0x2016, 64 * 1024,  64, FL_NONE },
-	{ "m25p64",    0x20, 0x2017, 64 * 1024, 128, FL_NONE },
-	{ "mx25ll64",  0xc2, 0x2017, 64 * 1024, 128, FL_NONE },
-	{ "mx25ll128", 0xc2, 0x2018, 64 * 1024, 256, FL_ERASE_4K | FL_ERASE_32K },
-	{ "s25fl128",  0x01, 0x2018, 64 * 1024, 256, FL_NONE },
-	{ "s25s1032",  0x01, 0x0215, 64 * 1024, 64,  FL_NONE },
-	{ "s25sl064a", 0x01, 0x0216, 64 * 1024, 128, FL_NONE },
-	{ "w25q64bv",  0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
-	{ "w25x32",    0xef, 0x3016, 64 * 1024, 64, FL_ERASE_4K },
+	{ "en25f32",	0x1c, 0x3116, 64 * 1024, 64, FL_NONE },
+	{ "en25p32",	0x1c, 0x2016, 64 * 1024, 64, FL_NONE },
+	{ "en25p64",	0x1c, 0x2017, 64 * 1024, 128, FL_NONE },
+	{ "en25q64",	0x1c, 0x3017, 64 * 1024, 128, FL_ERASE_4K },
+	{ "m25p64",	0x20, 0x2017, 64 * 1024, 128, FL_NONE },
+	{ "mx25ll32",	0xc2, 0x2016, 64 * 1024, 64, FL_NONE },
+	{ "mx25ll64",	0xc2, 0x2017, 64 * 1024, 128, FL_NONE },
+	{ "mx25ll128",	0xc2, 0x2018, 64 * 1024, 256, FL_ERASE_4K | FL_ERASE_32K },
+	{ "s25fl128",	0x01, 0x2018, 64 * 1024, 256, FL_NONE },
+	{ "s25s1032",	0x01, 0x0215, 64 * 1024, 64, FL_NONE },
+	{ "s25sl064a",	0x01, 0x0216, 64 * 1024, 128, FL_NONE },
+	{ "SST25VF032B", 0xbf, 0x254a, 64 * 1024, 64, FL_ERASE_4K | FL_ERASE_32K },
+	{ "w25q32",	0xef, 0x4016, 64 * 1024, 64, FL_ERASE_4K },
+	{ "w25q64",	0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
+	{ "w25q64bv",	0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
+	{ "w25x32",	0xef, 0x3016, 64 * 1024, 64, FL_ERASE_4K },
 };
 
 static uint8_t


More information about the svn-src-all mailing list