[U-Boot] [PATCH 2/4] da830: emac: add support for RMII

Mike Frysinger vapier at gentoo.org
Fri Sep 30 17:48:13 CEST 2011


On Friday, September 30, 2011 07:57:10 nagabhushana.netagunte at ti.com wrote:
> --- a/drivers/net/davinci_emac.c
> +++ b/drivers/net/davinci_emac.c
> @@ -246,7 +246,7 @@ static int gen_get_link_speed(int phy_addr)
>  	if (davinci_eth_phy_read(phy_addr, MII_STATUS_REG, &tmp) &&
>  			(tmp & 0x04)) {
>  #if defined(CONFIG_DRIVER_TI_EMAC_USE_RMII) && \

there's a common CONFIG_RMII symbol already ...

> -		defined(CONFIG_MACH_DAVINCI_DA850_EVM)
> +		defined(CONFIG_MACH_DAVINCI_DA8XX_EVM)

maybe it's just me, but board level defines in an emac driver make no sense
-mike


More information about the U-Boot mailing list