]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/net/lpc32xx_eth.c
net: lpc32xx: connect MAC to phy with CONFIG_PHY_ADDR id
[karo-tx-uboot.git] / drivers / net / lpc32xx_eth.c
index 72451a96e4de099631ef22bec3a859ced7ed4fec..6033392945c12806de358c1345ef63342670b5d5 100644 (file)
@@ -630,7 +630,7 @@ int lpc32xx_eth_initialize(bd_t *bis)
        eth_register(dev);
 
 #if defined(CONFIG_PHYLIB)
-       lpc32xx_eth_phylib_init(dev, 0);
+       lpc32xx_eth_phylib_init(dev, CONFIG_PHY_ADDR);
 #elif defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
        miiphy_register(dev->name, mii_reg_read, mii_reg_write);
 #endif