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

Ian Lepore ian at FreeBSD.org
Mon Feb 25 16:40:11 UTC 2019


Author: ian
Date: Mon Feb 25 16:40:10 2019
New Revision: 344525
URL: https://svnweb.freebsd.org/changeset/base/344525

Log:
  Add a metadata entry for the AT45DB641E chip.  This chip has the same 3-byte
  jedec ID as its older cousin the AT45DB642D, but uses a different page size.
  The only way to distinguish between the two chips is that the 2D chip has
  0 bytes of extended ID info and the new 1E has 1 byte of extended ID.  The
  actual value of the extended ID byte is all zeroes.  In other words, it's
  the presence of the extended info that identifies this chip. (Presumably
  a future upgrade might define non-zero values for the extended ID byte.)

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

Modified: head/sys/dev/flash/at45d.c
==============================================================================
--- head/sys/dev/flash/at45d.c	Mon Feb 25 16:28:13 2019	(r344524)
+++ head/sys/dev/flash/at45d.c	Mon Feb 25 16:40:10 2019	(r344525)
@@ -157,6 +157,7 @@ static const struct at45d_flash_ident at45d_flash_devi
 	{ "AT45DB161x", 0x1f260000, 0x0000, 0x0000,  4096, 10,  528,  512 },
 	{ "AT45DB321x", 0x1f270000, 0x0000, 0x0000,  8192, 10,  528,    0 },
 	{ "AT45DB321x", 0x1f270100, 0x0000, 0x0000,  8192, 10,  528,  512 },
+	{ "AT45DB641E", 0x1f280001, 0x0000, 0xff00, 32768,  9,  264,  256 },
 	{ "AT45DB642x", 0x1f280000, 0x0000, 0x0000,  8192, 11, 1056, 1024 },
 };
 


More information about the svn-src-head mailing list