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/isee/igep0033/board.c | |
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/isee/igep0033/board.c')
-rw-r--r-- | board/isee/igep0033/board.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/board/isee/igep0033/board.c b/board/isee/igep0033/board.c index a24c22b..9e91f68 100644 --- a/board/isee/igep0033/board.c +++ b/board/isee/igep0033/board.c @@ -27,9 +27,6 @@ DECLARE_GLOBAL_DATA_PTR; -/* MII mode defines */ -#define RMII_MODE_ENABLE 0x4D - static struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE; #ifdef CONFIG_SPL_BUILD @@ -158,7 +155,8 @@ int board_eth_init(bd_t *bis) eth_setenv_enetaddr("ethaddr", mac_addr); } - writel(RMII_MODE_ENABLE, &cdev->miisel); + writel((GMII1_SEL_RMII | RMII1_IO_CLK_EN), + &cdev->miisel); rv = cpsw_register(&cpsw_data); if (rv < 0) |