Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jan 2011 12:14:06 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218088 - head/sys/dev/flash
Message-ID:  <201101301214.p0UCE6IL071207@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sun Jan 30 12:14:06 2011
New Revision: 218088
URL: http://svn.freebsd.org/changeset/base/218088

Log:
  Add support for the m25p64; lifted straight from Linux.
  
  This flash chip is found on the Ubiquiti LS-SR71 board.
  I've successfully tested reading; I've not tried writing to it yet.

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

Modified: head/sys/dev/flash/mx25l.c
==============================================================================
--- head/sys/dev/flash/mx25l.c	Sun Jan 30 12:12:25 2011	(r218087)
+++ head/sys/dev/flash/mx25l.c	Sun Jan 30 12:14:06 2011	(r218088)
@@ -90,6 +90,7 @@ 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 },



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101301214.p0UCE6IL071207>