]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: NET: Ethernet speed changed from 100 to 1000 MBPS
authorJagan <jaganna@xilinx.com>
Wed, 30 May 2012 07:07:37 +0000 (12:37 +0530)
committerJagan <jaganna@xilinx.com>
Thu, 31 May 2012 08:02:10 +0000 (13:32 +0530)
This patch add support to operate u-boot ethernet on 1Gig, as
the Linux operates the same. we synchronise both the speeds.

Signed-off-by: Jagan <jaganna@xilinx.com>
board/xilinx/zynq_common/xgmac.c

index 618e9cdc8a25eb223757c065b6f5caa5f542691d..ac96a782bb9a385a893065c9e74999a0bab5706e 100644 (file)
@@ -295,8 +295,10 @@ int Xgmac_init(struct eth_device *dev, bd_t * bis)
 
        /***** Try to establish a link at the highest speed possible  *****/
 #ifdef CONFIG_EP107
-       Xgmac_set_eth_advertise(EmacPssInstancePtr, 100);
+       /* CR-659040 */
+       Xgmac_set_eth_advertise(EmacPssInstancePtr, 1000);
 #else
+       /* CR-659040 */
        /* Could be 1000 if an unknown bug is fixed */
        Xgmac_set_eth_advertise(EmacPssInstancePtr, 1000);
 #endif