Dont try to detect phy again if already detected
This issue with detecting the phy again is occuring
on ep108 boards and hence this patch is added as
temporary hack for that issue.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
priv->init++;
}
+#ifdef XILINX_ZYNQMP
+ if (!priv->init) {
+#endif
phy_detection(dev);
/* interface - look at tsec */
clk_rate = ZYNQ_GEM_FREQUENCY_10;
break;
}
+#ifdef XILINX_ZYNQMP
+ }
+#endif
#ifndef XILINX_ZYNQMP
/* Change the rclk and clk only not using EMIO interface */