]> git.sur5r.net Git - u-boot/commit
net: keystone_net: register eth PHYs on MDIO bus
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>
Fri, 17 Oct 2014 17:44:35 +0000 (20:44 +0300)
committerTom Rini <trini@ti.com>
Thu, 23 Oct 2014 15:27:28 +0000 (11:27 -0400)
commit3fe93623cc5f5c5373fe0c0b7fe331f8800f4350
tree7670e08320618f724c65cc61f59e63af085ec5e7
parent550c5ce6f5b16e67f9af4c170efb91f1e342bafa
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>
arch/arm/include/asm/ti-common/keystone_net.h
drivers/net/keystone_net.c
include/configs/ks2_evm.h