]> git.sur5r.net Git - u-boot/commitdiff
arm: am335x: net: pxm2: disable rgmii internal delay mode
authorHeiko Schocher <hs@denx.de>
Wed, 5 Nov 2014 09:23:21 +0000 (10:23 +0100)
committerTom Rini <trini@ti.com>
Thu, 6 Nov 2014 16:04:40 +0000 (11:04 -0500)
disable internal delay through gmii_sel register, as this
is done in the ar8031 phy.

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@ti.com>
board/siemens/pxm2/board.c

index 64e69dc93ddc9f9823508f1a0427f5ac25ad8189..559af0e0e52f9c6bb3eb5be6fe29a139d9e3b2f6 100644 (file)
@@ -229,7 +229,7 @@ int board_eth_init(bd_t *bis)
 #endif /* #ifdef CONFIG_FACTORYSET */
 
        /* Set rgmii mode and enable rmii clock to be sourced from chip */
-       writel(RGMII_MODE_ENABLE , &cdev->miisel);
+       writel(RGMII_MODE_ENABLE  | RGMII_INT_DELAY, &cdev->miisel);
 
        rv = cpsw_register(&cpsw_data);
        if (rv < 0)