[U-Boot] [PATCH 5/6] da850/omap-l138: davinci_emac: Suppress auto negotiation if needed

Stefano Babic sbabic at denx.de
Wed Aug 15 19:04:07 CEST 2012


On 10/08/2012 09:26, Bastian Ruppert wrote:
> From this commit id: b78375a806ed04eb22b963255cfdef8df702de47 auto
> negotiation is enabled in RMII mode. Some boards based on da850 need
> to suppress this procedure.
> 
> CC: Rajashekhara, Sudhakar <sudhakar.raj at ti.com>
> CC: Lad, Prabhakar <prabhakar.lad at ti.com>
> CC: Hadli, Manjunath <manjunath.hadli at ti.com>
> CC: sbabic at denx.de
> CC: Tom Rini <trini at ti.com>
> Signed-off-by: Bastian Ruppert <Bastian.Ruppert at Sewerin.de>
> ---
>  drivers/net/davinci_emac.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
> index b2516d1..fe988d7 100644
> --- a/drivers/net/davinci_emac.c
> +++ b/drivers/net/davinci_emac.c
> @@ -897,7 +897,8 @@ int davinci_emac_initialize(void)
>  	}
>  
>  #if defined(CONFIG_DRIVER_TI_EMAC_USE_RMII) && \
> -		defined(CONFIG_MACH_DAVINCI_DA850_EVM)
> +		defined(CONFIG_MACH_DAVINCI_DA850_EVM) && \
> +			!defined(CONFIG_DRIVER_TI_EMAC_RMII_NONEG)
>  	for (i = 0; i < num_phy; i++) {
>  		if (phy[i].is_phy_connected(i))
>  			phy[i].auto_negotiate(i);
> 

Acked-by: Stefano Babic <sbabic at denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list