mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-14 07:13:28 +08:00
phy: Use general phy code for smsc lan8720a
Signed-off-by: David Dueck <davidcdueck@googlemail.com>
This commit is contained in:
parent
3a530d1b3e
commit
f27f3b5266
@ -12,6 +12,7 @@
|
||||
*/
|
||||
#include <miiphy.h>
|
||||
|
||||
/* This code does not check the partner abilities. */
|
||||
static int smsc_parse_status(struct phy_device *phydev)
|
||||
{
|
||||
int mii_reg;
|
||||
@ -64,7 +65,7 @@ static struct phy_driver lan8710_driver = {
|
||||
.mask = 0xffff0,
|
||||
.features = PHY_BASIC_FEATURES,
|
||||
.config = &genphy_config_aneg,
|
||||
.startup = &smsc_startup,
|
||||
.startup = &genphy_startup,
|
||||
.shutdown = &genphy_shutdown,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user