[U-Boot] [PATCH v2] DaVinci: EMAC: Get EMAC_MDIO_PHY_NUM from config files

Paulraj, Sandeep s-paulraj at ti.com
Tue Jun 22 17:26:51 CEST 2010


> 
> Currently EMAC_MDIO_PHY_NUM is defined as 1 in emac_defs.h.
> Because of this, EMAC does not work on EVMs which do not have phy
> connected at 1. Moving the macro to board config file makes this
> configurable depending on where the phy is connected on the MDIO bus.
> 
> This patch fixes the board reset issue observed during network access
> on DM365EVM. EMAC driver was assuming EMAC_MDIO_PHY_NUM as 1
> but it is 0 on DM365EVM.
> 
> This patch is verified on da830/omap-l137, dm365 and dm644x evms.
> 
> Signed-off-by: Prakash PM <prakash.pm at ti.com>
> ---
> Since v1:
> Added CONFIG_EMAC_MDIO_PHY_NUM for Davinci SONATA board config file,
> without which MAKEALL fails for Davinci SONATA evm.

Applied to u-boot-ti/next


More information about the U-Boot mailing list