summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2009-03-23 19:27:15 +0530
committerJustin Waters <justin.waters@timesys.com>2009-09-09 14:03:22 -0400
commit472656e548484cdc0bb56c368efce43c97d0ef5f (patch)
treec99b38ee8d10b17c2f636e97b7836669d03fcb4a
parent6108864c2c1be22312cd10fd21135ca7cde85da2 (diff)
U-Boot: Set CFGCHIP3 to select RMII
-rw-r--r--board/da8xx/da8xx-evm/da850.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/da8xx/da8xx-evm/da850.c b/board/da8xx/da8xx-evm/da850.c
index 926930d877..35ba0c1e60 100644
--- a/board/da8xx/da8xx-evm/da850.c
+++ b/board/da8xx/da8xx-evm/da850.c
@@ -146,10 +146,17 @@ int board_init(void)
REG(PINMUX14) |= 0x88888800;
REG(PINMUX15) &= 0xFFFFFF00;
REG(PINMUX15) |= 0x00000080;
+
+ /* set cfgchip3 to selct RMII */
+ REG(CFGCHIP3) |= (1 << 8);
+
#else /* Use MII */
REG(PINMUX2) &= 0x0000000F;
REG(PINMUX2) |= 0x88888880;
REG(PINMUX3) = 0x88888880;
+
+ /* set cfgchip3 to selct MII */
+ REG(CFGCHIP3) &= ~(1 << 8);
#endif
/* MDIO */
REG(PINMUX4) &= 0xFFFFFF00;