summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorMatt Porter <mporter@ti.com>2013-03-20 05:38:13 +0000
committerTom Rini <trini@ti.com>2013-05-10 08:25:54 -0400
commitf485c8a35b38356a473208bec5ed786792c1eafe (patch)
tree366d16978a400ddf626923c978694161bb403858 /drivers/net/phy/phy.c
parentf6f86a64ac00980ba6066417bb54f39e39d29703 (diff)
downloadu-boot-imx-f485c8a35b38356a473208bec5ed786792c1eafe.zip
u-boot-imx-f485c8a35b38356a473208bec5ed786792c1eafe.tar.gz
u-boot-imx-f485c8a35b38356a473208bec5ed786792c1eafe.tar.bz2
phy: add support for ET1011C phys
Adds an ET1011C PHY driver which is derived from the Linux kernel PHY driver (drivers/net/phy/et1011c.c) from the v3.9-rc2 tag. Note that an errata workaround config option is implemented to allow for TX_CLK to be enabled even when gigabit mode is negotiated. This workaround is used on the PG1.0 TI814X EVM. Signed-off-by: Matt Porter <mporter@ti.com> Reviewed-by: Tom Rini <trini@ti.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 d0ed766..f8c5481 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -430,6 +430,9 @@ int phy_init(void)
#ifdef CONFIG_PHY_DAVICOM
phy_davicom_init();
#endif
+#ifdef CONFIG_PHY_ET1011C
+ phy_et1011c_init();
+#endif
#ifdef CONFIG_PHY_LXT
phy_lxt_init();
#endif