summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2014-11-10 18:32:29 +0800
committerYork Sun <yorksun@freescale.com>2014-12-05 08:06:11 -0800
commit9b18e5199ec42f9dc62c0da7f4fe7554e199980d (patch)
tree4e008751897a988bf271b26814b5a2a8db775e8d /drivers/net/phy/phy.c
parent84baed2a2bdde3b2bf876d36cc966bd41ac67a6d (diff)
downloadu-boot-imx-9b18e5199ec42f9dc62c0da7f4fe7554e199980d.zip
u-boot-imx-9b18e5199ec42f9dc62c0da7f4fe7554e199980d.tar.gz
u-boot-imx-9b18e5199ec42f9dc62c0da7f4fe7554e199980d.tar.bz2
net/phy: Add support for CS4315/CS4340 PHY
Add support for Cortina CS4315/CS4340 10G PHY. - This driver loads CS43xx firmware from NOR/NAND/SPI/SD device to initialize Cortina PHY. - Cortina PHY has non-standard offset of PHY ID registers, thus we define own get_phy_id() to override default get_phy_id(). - To define macro CONFIG_PHY_CORTINA will enable this driver. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers/net/phy/phy.c')
-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 467c972..5b04c85 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -448,6 +448,9 @@ int phy_init(void)
#ifdef CONFIG_PHY_BROADCOM
phy_broadcom_init();
#endif
+#ifdef CONFIG_PHY_CORTINA
+ phy_cortina_init();
+#endif
#ifdef CONFIG_PHY_DAVICOM
phy_davicom_init();
#endif