From: Vitaly Andrianov Date: Mon, 29 Sep 2014 19:17:23 +0000 (+0300) Subject: net: keystone_net: increase MDIO clock frequency X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=f0772266103686abf33fbcf87646b7674d494ec1;p=u-boot.git net: keystone_net: increase MDIO clock frequency 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 Signed-off-by: Vitaly Andrianov Signed-off-by: Ivan Khoronzhuk --- diff --git a/arch/arm/include/asm/ti-common/keystone_net.h b/arch/arm/include/asm/ti-common/keystone_net.h index 7769d7b7f7..e56759dc10 100644 --- a/arch/arm/include/asm/ti-common/keystone_net.h +++ b/arch/arm/include/asm/ti-common/keystone_net.h @@ -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