diff options
author | Vitaly Andrianov <vitalya@ti.com> | 2014-09-29 22:17:23 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-23 11:27:05 -0400 |
commit | f0772266103686abf33fbcf87646b7674d494ec1 (patch) | |
tree | e6d6c87414ee70f18e3619a7776179355556ff7d /arch/arm | |
parent | 0935cac6855626f9de6af9583a30b6463e8bab95 (diff) | |
download | u-boot-imx-f0772266103686abf33fbcf87646b7674d494ec1.zip u-boot-imx-f0772266103686abf33fbcf87646b7674d494ec1.tar.gz u-boot-imx-f0772266103686abf33fbcf87646b7674d494ec1.tar.bz2 |
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 <m-karicheri2@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/ti-common/keystone_net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/ti-common/keystone_net.h b/arch/arm/include/asm/ti-common/keystone_net.h index 7769d7b..e56759d 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 |