Add support for Atmel at25df641 flash

Submitted by:	Grégory Soutadé <soutade@gmail.com> (via github pull request)
This commit is contained in:
bapt 2016-06-08 14:22:16 +00:00
parent 96eee026cc
commit ff6e6d531a
3 changed files with 5 additions and 0 deletions

View File

@ -130,6 +130,9 @@ struct mx25l_flash_ident flash_devices[] = {
{ "w25q64bv", 0xef, 0x4017, 64 * 1024, 128, FL_ERASE_4K },
{ "w25q128", 0xef, 0x4018, 64 * 1024, 256, FL_ERASE_4K },
{ "w25q256", 0xef, 0x4019, 64 * 1024, 512, FL_ERASE_4K },
/* Atmel */
{ "at25df641", 0x1f, 0x4800, 64 * 1024, 128, FL_ERASE_4K },
};
static uint8_t

View File

@ -343,3 +343,4 @@ model xxXAQTI XMACII 0x0000 XaQti Corp. XMAC II gigabit interface
/* SMC */
model SMC LAN8710A 0x000F SMC LAN8710A 10/100 interface
model SMC LAN8700 0x000C SMC LAN8700 10/100 interface

View File

@ -77,6 +77,7 @@ DRIVER_MODULE(smscphy, miibus, smscphy_driver, smscphy_devclass, 0, 0);
static const struct mii_phydesc smscphys[] = {
MII_PHY_DESC(SMC, LAN8710A),
MII_PHY_DESC(SMC, LAN8700),
MII_PHY_END
};