From: Tobias Knutsson Date: Thu, 25 Mar 2010 14:17:12 +0100 Subject: [PATCH] [Davinci] Support PYHs with MDIO address !=3D 0 Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Insert ifdef statement to allow board configuration to override default PHY MDIO address. --- include/asm-arm/arch-davinci/emac_defs.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/asm-arm/arch-davinci/emac_defs.h b/include/asm-arm/arch-davinci/emac_defs.h index b0ec8f5..dabd15d 100644 --- a/include/asm-arm/arch-davinci/emac_defs.h +++ b/include/asm-arm/arch-davinci/emac_defs.h @@ -85,7 +85,9 @@ #endif /* PHY mask - set only those phy number bits where phy is/can be connected= */ +#ifndef EMAC_MDIO_PHY_NUM #define EMAC_MDIO_PHY_NUM 1 +#endif #define EMAC_MDIO_PHY_MASK (1 << EMAC_MDIO_PHY_NUM) /* Ethernet Min/Max packet size */ --=20 1.6.0.4 --=20 H=E4lsningar/Regards Tobias Knutsson