]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: keystone_net: increase MDIO clock frequency
authorVitaly Andrianov <vitalya@ti.com>
Mon, 29 Sep 2014 19:17:23 +0000 (22:17 +0300)
committerTom Rini <trini@ti.com>
Thu, 23 Oct 2014 15:27:05 +0000 (11:27 -0400)
With MAC_PHY sgmii configuration, u-boot checks PHY link status before
sending each packet. Increasing MDIO frequency increases overall tftp
speed. We set it to maximum 2.5MHz.

Acked-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
arch/arm/include/asm/ti-common/keystone_net.h

index 7769d7b7f709afabd129c2db4a308d155b597996..e56759dc1047e965be1e123e03550b5f7c5a5be2 100644 (file)
@@ -51,7 +51,7 @@
 /* MDIO module input frequency */
 #define EMAC_MDIO_BUS_FREQ             (clk_get_rate(pass_pll_clk))
 /* MDIO clock output frequency */
-#define EMAC_MDIO_CLOCK_FREQ           1000000                /* 1.0 MHz */
+#define EMAC_MDIO_CLOCK_FREQ           2500000 /* 2.5 MHz */
 
 /* MII Status Register */
 #define MII_STATUS_REG                 1