net: gem: Check if phy was correctly detected
authorMichal Simek <michal.simek@xilinx.com>
Tue, 12 Nov 2013 13:25:29 +0000 (14:25 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 21 Jan 2014 15:07:10 +0000 (16:07 +0100)
commit4ed4aa20de50661de89dbe7896595e2b0bf44d5c
tree53efa3a2c8a22cb041058bdc9e5402dfb73268f2
parentb44bd2c73c4cfb6e3b9e7f8cf987e8e39aa74a0b
net: gem: Check if phy was correctly detected

As tsec and fm drivers checking phydev->link
ensure that u-boot don't try access device if link is not ready.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/zynq_gem.c