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.
This commit is contained in:
Adrian Chadd 2011-01-30 12:14:06 +00:00
parent abf0f91e13
commit a565668bc5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218088

View File

@ -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 },