Add support for Atmel at25df641 flash

Submitted by:	Grégory Soutadé <soutade@gmail.com> (via github pull request)
This commit is contained in:
Baptiste Daroussin 2016-06-08 14:22:16 +00:00
parent 7d3ed68c32
commit fe56b741cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301632
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
};