[U-Boot] [PATCH] am335x: disable internal delay for RGMII mode

yegorslists at googlemail.com yegorslists at googlemail.com
Mon Nov 26 14:30:42 CET 2012


From: Yegor Yefremov <yegorslists at googlemail.com>

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 at googlemail.com>
---
 board/ti/am335x/board.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index b56a801..085bb9b 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
-- 
1.7.7



More information about the U-Boot mailing list