mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-25 20:07:17 +00:00
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>
This commit is contained in:
parent
0935cac685
commit
f077226610
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@
|
||||||
/* MDIO module input frequency */
|
/* MDIO module input frequency */
|
||||||
#define EMAC_MDIO_BUS_FREQ (clk_get_rate(pass_pll_clk))
|
#define EMAC_MDIO_BUS_FREQ (clk_get_rate(pass_pll_clk))
|
||||||
/* MDIO clock output frequency */
|
/* 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 */
|
/* MII Status Register */
|
||||||
#define MII_STATUS_REG 1
|
#define MII_STATUS_REG 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue