summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>2014-10-17 20:44:35 +0300
committerTom Rini <trini@ti.com>2014-10-23 11:27:28 -0400
commit3fe93623cc5f5c5373fe0c0b7fe331f8800f4350 (patch)
tree7670e08320618f724c65cc61f59e63af085ec5e7 /include
parent550c5ce6f5b16e67f9af4c170efb91f1e342bafa (diff)
downloadblackbird-obmc-uboot-3fe93623cc5f5c5373fe0c0b7fe331f8800f4350.tar.gz
blackbird-obmc-uboot-3fe93623cc5f5c5373fe0c0b7fe331f8800f4350.zip
net: keystone_net: register eth PHYs on MDIO bus
As MDIO bus has been added we can register PHYs with it. After registration, the PHY driver will be probed according to the hardware on board. Startup PHY at the ethernet open. Use phy_startup() instead of keystone_get_link_status() when eth open, as it verifies PHY link inside and SGMII link is checked before. For K2HK evm PHY configuration at init was absent, so don't enable phy config at init for k2hk evm. Acked-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ks2_evm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ks2_evm.h b/include/configs/ks2_evm.h
index 5ba975c60c..5b3d68b7aa 100644
--- a/include/configs/ks2_evm.h
+++ b/include/configs/ks2_evm.h
@@ -92,6 +92,8 @@
#define CONFIG_SYS_SPI2_NUM_CS 4
/* Network Configuration */
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_MARVELL
#define CONFIG_MII
#define CONFIG_BOOTP_DEFAULT
#define CONFIG_BOOTP_DNS
OpenPOWER on IntegriCloud