summaryrefslogtreecommitdiff
path: root/board/freescale/mpc8544ds/mpc8544ds.c
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2012-02-07 14:08:49 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-02-27 21:19:25 +0100
commit9fafe7dab9bc8a9e33e1ba5e28a3ec870d689b82 (patch)
treea0403ba8fc386f01760626fcbe43fdc0922dc70d /board/freescale/mpc8544ds/mpc8544ds.c
parent8682aba7da2af2842296710acca7c03fcebafd5c (diff)
downloadu-boot-imx-9fafe7dab9bc8a9e33e1ba5e28a3ec870d689b82.zip
u-boot-imx-9fafe7dab9bc8a9e33e1ba5e28a3ec870d689b82.tar.gz
u-boot-imx-9fafe7dab9bc8a9e33e1ba5e28a3ec870d689b82.tar.bz2
net: phy: make board_phy_config responsible for calling drv->config
Boards may have things they want done before or after normal phy config. Letting the boards call drv->config allows them more flexibilty. Boards affected by this change are corenet_ds and mpc8544ds. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
Diffstat (limited to 'board/freescale/mpc8544ds/mpc8544ds.c')
-rw-r--r--board/freescale/mpc8544ds/mpc8544ds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/mpc8544ds/mpc8544ds.c b/board/freescale/mpc8544ds/mpc8544ds.c
index 6fe8d39..24a1715 100644
--- a/board/freescale/mpc8544ds/mpc8544ds.c
+++ b/board/freescale/mpc8544ds/mpc8544ds.c
@@ -261,6 +261,8 @@ int board_phy_config(struct phy_device *phydev)
uint phyid;
struct mii_dev *bus = phydev->bus;
+ if (phydev->drv->config)
+ phydev->drv->config(phydev);
if (do_once)
return 0;