[U-Boot] [PATCH] board: freescale: ls1012a: fix RGMII TX-delay issue
Joe Hershberger
joe.hershberger at ni.com
Tue Feb 27 15:58:18 UTC 2018
On Thu, Oct 26, 2017 at 12:01 AM, Calvin Johnson <calvin.johnson at nxp.com> wrote:
> Recently logic to enable RGMII TX-delay was changed by
> commit 05b29aa0cb68 ("net: phy: realtek: fix enabling of the TX-delay
> for RTL8211F")
>
> Based on this, here we are enabling the TX-delay again using
> PHY_INTERFACE_MODE_RGMII_TXID.
>
> Signed-off-by: Calvin Johnson <calvin.johnson at nxp.com>
> Signed-off-by: Anjaneyulu Jagarlmudi <anji.jagarlmudi at nxp.com>
> ---
>
> board/freescale/ls1012ardb/eth.c | 2 +-
> drivers/net/pfe_eth/pfe_eth.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/board/freescale/ls1012ardb/eth.c b/board/freescale/ls1012ardb/eth.c
> index 286bc8a..c0f6306 100644
> --- a/board/freescale/ls1012ardb/eth.c
> +++ b/board/freescale/ls1012ardb/eth.c
> @@ -62,7 +62,7 @@ int board_eth_init(bd_t *bis)
> /* MAC2 */
> ls1012a_set_mdio(1, miiphy_get_dev_by_name(DEFAULT_PFE_MDIO_NAME));
> ls1012a_set_phy_address_mode(1, EMAC2_PHY_ADDR,
> - PHY_INTERFACE_MODE_RGMII);
> + PHY_INTERFACE_MODE_RGMII_TXID);
>
> cpu_eth_init(bis);
> #endif
> diff --git a/drivers/net/pfe_eth/pfe_eth.c b/drivers/net/pfe_eth/pfe_eth.c
> index 8d8de40..4db823f 100644
> --- a/drivers/net/pfe_eth/pfe_eth.c
> +++ b/drivers/net/pfe_eth/pfe_eth.c
Is this still needed with v2 of your patch?
> @@ -27,7 +27,7 @@ struct gemac_s gem_info[] = {
>
> /* phy iface */
> .phy_address = EMAC2_PHY_ADDR,
> - .phy_mode = PHY_INTERFACE_MODE_RGMII,
> + .phy_mode = PHY_INTERFACE_MODE_RGMII_TXID,
> },
> };
>
> --
> 2.7.4
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
More information about the U-Boot
mailing list