diff options
author | Tom Rini <trini@konsulko.com> | 2022-11-26 13:31:35 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-11-26 13:31:35 -0500 |
commit | 957b7402dc499fa563138cac273ece20cbe151ed (patch) | |
tree | 82f1f5245fd6b2eaee8623895e75cd0d626c743e | |
parent | d51d05549f5a46413eea1cdd342f9aebfcf4b670 (diff) | |
download | u-boot-WIP/migrate-syms-4b.zip u-boot-WIP/migrate-syms-4b.tar.gz u-boot-WIP/migrate-syms-4b.tar.bz2 |
net: keystone_net: Remove non-DM_ETH codeWIP/migrate-syms-4b
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | drivers/net/ti/keystone_net.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ti/keystone_net.c b/drivers/net/ti/keystone_net.c index 1bdbd59..24fb54f 100644 --- a/drivers/net/ti/keystone_net.c +++ b/drivers/net/ti/keystone_net.c @@ -592,10 +592,8 @@ static int ks2_eth_probe(struct udevice *dev) if (priv->has_mdio) { priv->phydev = phy_connect(priv->mdio_bus, priv->phy_addr, dev, priv->phy_if); -#ifdef CONFIG_DM_ETH if (ofnode_valid(priv->phy_ofnode)) priv->phydev->node = priv->phy_ofnode; -#endif phy_config(priv->phydev); } |