summaryrefslogtreecommitdiff
path: root/board/ti/am335x/board.c
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2012-11-26 03:30:42 (GMT)
committerTom Rini <trini@ti.com>2012-12-10 15:56:38 (GMT)
commitcfd4ff6f0f4877654d05ddc31d767ef608c8dc3f (patch)
tree1ba901eb80e49e7f00c1d53a7532c999414e0126 /board/ti/am335x/board.c
parent31f5b651fad3d3999d8bd62f228d940bf1b42276 (diff)
downloadu-boot-fsl-qoriq-cfd4ff6f0f4877654d05ddc31d767ef608c8dc3f.tar.xz
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>
Diffstat (limited to 'board/ti/am335x/board.c')
-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