public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] am335x: disable internal delay for RGMII mode
@ 2012-11-26 13:30 yegorslists at googlemail.com
  2012-12-10 20:16 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: yegorslists at googlemail.com @ 2012-11-26 13:30 UTC (permalink / raw)
  To: u-boot

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
-- 
1.7.7

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] am335x: disable internal delay for RGMII mode
  2012-11-26 13:30 [U-Boot] [PATCH] am335x: disable internal delay for RGMII mode yegorslists at googlemail.com
@ 2012-12-10 20:16 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2012-12-10 20:16 UTC (permalink / raw)
  To: u-boot

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!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121210/3aec421a/attachment.pgp>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-10 20:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-26 13:30 [U-Boot] [PATCH] am335x: disable internal delay for RGMII mode yegorslists at googlemail.com
2012-12-10 20:16 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox