diff options
author | Heiko Schocher <hs@denx.de> | 2013-08-19 14:38:56 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-08-28 15:44:59 (GMT) |
commit | dafd4db33a99f05616f02283f6fd3ba065278dcb (patch) | |
tree | 7f636b99e8139870aaa0ae31b12eb0ea2a458fb7 /board/ti | |
parent | 457bb50560c983fc69090dad1fb16b128e88a520 (diff) | |
download | u-boot-fsl-qoriq-dafd4db33a99f05616f02283f6fd3ba065278dcb.tar.xz |
arm, am33xx: add defines for gmii_sel_register bits
Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Diffstat (limited to 'board/ti')
-rw-r--r-- | board/ti/am335x/board.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index 04c37e2..cc04426 100644 --- a/board/ti/am335x/board.c +++ b/board/ti/am335x/board.c @@ -30,10 +30,6 @@ DECLARE_GLOBAL_DATA_PTR; -/* MII mode defines */ -#define MII_MODE_ENABLE 0x0 -#define RGMII_MODE_ENABLE 0x3A - /* GPIO that controls power to DDR on EVM-SK */ #define GPIO_DDR_VTT_EN 7 @@ -460,7 +456,7 @@ int board_eth_init(bd_t *bis) cpsw_slaves[0].phy_if = cpsw_slaves[1].phy_if = PHY_INTERFACE_MODE_MII; } else { - writel(RGMII_MODE_ENABLE, &cdev->miisel); + writel((RGMII_MODE_ENABLE | RGMII_INT_DELAY), &cdev->miisel); cpsw_slaves[0].phy_if = cpsw_slaves[1].phy_if = PHY_INTERFACE_MODE_RGMII; } |