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

From: Yegor Yefremov yegorslists@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@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

On Mon, Nov 26, 2012 at 03:30:42AM -0000, Yegor Yefremov wrote:
From: Yegor Yefremov yegorslists@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@googlemail.com
Applied to u-boot-ti/master, thanks!
participants (2)
-
Tom Rini
-
yegorslists@googlemail.com