]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: phy: xilinx_gmii2rgmii: Add check for external phy detection
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 26 Feb 2019 12:12:44 +0000 (17:42 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Feb 2019 07:53:11 +0000 (08:53 +0100)
commit195c620e348891ca2d90c759781413f2adb3f748
treeaa7d01ee958dd994cd299dd187976152c768eb77
parente118badbd629130be3820bb5313ba2f5d6531f02
net: phy: xilinx_gmii2rgmii: Add check for external phy detection

Add check if an external phy is detected or not before proceeding
further to config the external phy. This patch fixes the issue of
u-boot hang or reset, if u-boot is not able to communicate with
external connected over gmiitorgmii bridge.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/phy/xilinx_gmii2rgmii.c