summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2012-11-26 03:30:42 +0000
committerTom Rini <trini@ti.com>2012-12-10 08:56:38 -0700
commitcfd4ff6f0f4877654d05ddc31d767ef608c8dc3f (patch)
tree1ba901eb80e49e7f00c1d53a7532c999414e0126
parent31f5b651fad3d3999d8bd62f228d940bf1b42276 (diff)
downloadu-boot-imx-cfd4ff6f0f4877654d05ddc31d767ef608c8dc3f.zip
u-boot-imx-cfd4ff6f0f4877654d05ddc31d767ef608c8dc3f.tar.gz
u-boot-imx-cfd4ff6f0f4877654d05ddc31d767ef608c8dc3f.tar.bz2
am335x: disable internal delay for RGMII mode
According to errata the AM335x device does not support internal delay mode, so RGMII1_IDMODE and RGMII2_IDMODE must be set to 1. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
-rw-r--r--board/ti/am335x/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index 6908378..135f1a2 100644
--- a/board/ti/am335x/board.c
+++ b/board/ti/am335x/board.c
@@ -44,7 +44,7 @@ static struct uart_sys *uart_base = (struct uart_sys *)DEFAULT_UART_BASE;
/* MII mode defines */
#define MII_MODE_ENABLE 0x0
-#define RGMII_MODE_ENABLE 0xA
+#define RGMII_MODE_ENABLE 0x3A
/* GPIO that controls power to DDR on EVM-SK */
#define GPIO_DDR_VTT_EN 7