summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authoryanhong.wang <yanhong.wang@starfivetech.com>2022-05-07 06:06:41 +0300
committerYanhong Wang <yanhong.wang@linux.starfivetech.com>2022-10-18 11:24:34 +0300
commit17a76df9975a5cf1dfad3cd02c9fd7aa49471001 (patch)
tree1b2a482a31193715cf51c2b41616ef9d14abf50c /drivers
parent66ede3957c034d69fbbc24d22c19701c68b42cbf (diff)
downloadu-boot-17a76df9975a5cf1dfad3cd02c9fd7aa49471001.tar.xz
net:phy:YUTAI: Add YT8511/yt8521 phy init
Add phy init for YUTAI YT8511/YT8521. Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/phy/phy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 65fbc02ec6..f7befc9870 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -571,6 +571,9 @@ int phy_init(void)
#ifdef CONFIG_PHY_XILINX_GMII2RGMII
phy_xilinx_gmii2rgmii_init();
#endif
+#ifdef CONFIG_PHY_YUTAI
+ phy_yutai_init();
+#endif
genphy_init();
return 0;