From: Andreas Gaeer <andreas.g...@baslerweb.com>

Signed-off-by: Andreas Gaeer <andreas.g...@baslerweb.com>
---
 arch/arm/include/asm/arch-davinci/emac_defs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/include/asm/arch-davinci/emac_defs.h 
b/arch/arm/include/asm/arch-davinci/emac_defs.h
index b0ec8f5..baee6aa 100644
--- a/arch/arm/include/asm/arch-davinci/emac_defs.h
+++ b/arch/arm/include/asm/arch-davinci/emac_defs.h
@@ -86,7 +86,7 @@
 
 /* PHY mask - set only those phy number bits where phy is/can be connected */
 #define EMAC_MDIO_PHY_NUM           1
-#define EMAC_MDIO_PHY_MASK          (1 << EMAC_MDIO_PHY_NUM)
+#define EMAC_MDIO_PHY_MASK          ((1 << EMAC_MDIO_PHY_NUM)-1)
 
 /* Ethernet Min/Max packet size */
 #define EMAC_MIN_ETHERNET_PKT_SIZE     60
-- 
1.7.0.3

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to