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 },
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to