]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
am335x: disable internal delay for RGMII mode
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 26 Nov 2012 03:30:42 +0000 (03:30 +0000)
committerTom Rini <trini@ti.com>
Mon, 10 Dec 2012 15:56:38 +0000 (08:56 -0700)
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>
board/ti/am335x/board.c

index 6908378faa9a167b07ca99beeb92e676c544adeb..135f1a2572e84dbe1575bd8b4941f637466e8ce3 100644 (file)
@@ -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