Skip to content
Snippets Groups Projects
Commit 312aca4e authored by Vitaly Andrianov's avatar Vitaly Andrianov Committed by Tom Rini
Browse files

net: keystone_net: move serdes setup to initialization function


On Keystone2 devices serdes must be initialized before accessing MDIO bus.
This commit moves the keystone2_net_serdes_setup() from keystone2_eth_open
to keystone2_emac_initialize to meet that requirement.

This also eliminates unnecessary serdes initializatin every time when the
keystone2_eth_open is being called.

Signed-off-by: default avatarVitaly Andrianov <vitalya@ti.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
Tested-by: default avatarNishanth Menon <nm@ti.com>
parent 66c98a0c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment