mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
am335x: cpsw: make phy address configurable
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
This commit is contained in:
parent
cfd4ff6f0f
commit
cdd0729ead
2 changed files with 5 additions and 1 deletions
|
@ -920,7 +920,10 @@ static int cpsw_phy_init(struct eth_device *dev, struct cpsw_slave *slave)
|
|||
SUPPORTED_100baseT_Full |
|
||||
SUPPORTED_1000baseT_Full);
|
||||
|
||||
phydev = phy_connect(priv->bus, 0, dev, slave->data->phy_if);
|
||||
phydev = phy_connect(priv->bus,
|
||||
CONFIG_PHY_ADDR,
|
||||
dev,
|
||||
slave->data->phy_if);
|
||||
|
||||
phydev->supported &= supported;
|
||||
phydev->advertising = phydev->supported;
|
||||
|
|
|
@ -301,6 +301,7 @@
|
|||
#define CONFIG_NET_MULTI
|
||||
#define CONFIG_PHY_GIGE
|
||||
#define CONFIG_PHYLIB
|
||||
#define CONFIG_PHY_ADDR 0
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
#define CONFIG_NAND
|
||||
|
|
Loading…
Add table
Reference in a new issue