[U-Boot,1/2] Davinci: Fixed wrong EMAC_MDIO_PHY_MASK

Submitted by andreas.gaer@baslerweb.com on April 21, 2010, 8:27 a.m.

Details

Message ID 1271838423-20183-2-git-send-email-andreas.gaer@baslerweb.com
State Rejected
Delegated to: Sandeep Paulraj
Headers show

Commit Message

andreas.gaer@baslerweb.com April 21, 2010, 8:27 a.m.
From: Andreas Gaeer <Andreas.Gaer@baslerweb.com>

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

Patch hide | download patch | download mbox

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