diff options
author | Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> | 2014-10-17 20:44:35 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-23 11:27:28 -0400 |
commit | 3fe93623cc5f5c5373fe0c0b7fe331f8800f4350 (patch) | |
tree | 7670e08320618f724c65cc61f59e63af085ec5e7 /include/configs/ks2_evm.h | |
parent | 550c5ce6f5b16e67f9af4c170efb91f1e342bafa (diff) |
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/configs/ks2_evm.h')
-rw-r--r-- | include/configs/ks2_evm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ks2_evm.h b/include/configs/ks2_evm.h index 5ba975c60c2..5b3d68b7aaa 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 |