]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
SPEAr: Enable autoneg for ethernet
authorShiraz Hashim <shiraz.hashim@st.com>
Mon, 7 May 2012 07:36:52 +0000 (13:06 +0530)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:41 +0000 (14:07 +0200)
Enabling autoneg avoids situation on few phys with fixed configuration. For
example, in one situation, nfs boot timed out when phy configuration is 100Mbps.
In another situtation, when traffic is directed to SPEAr, either thru
cross-cable or thru switch, the TFTP or DHCP command in u-boot starts to timeout
very often.

When Autoneg is ON, same phys started working perfectly.

Reported-by: Deepak Sikri <deepak.sikri@st.com>
Reported-by: Armando Visconti <armando.visconti@st.com>
Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
Signed-off-by: Stefan Roese <sr@denx.de>
include/configs/spear-common.h

index bd54a18465d0d07d1e21679ca8e06c54ffc06858..09604c5f101c6970257f4475b51d30746d479c85 100644 (file)
@@ -37,6 +37,7 @@
 #define CONFIG_DW0_PHY                         1
 #define CONFIG_NET_MULTI
 #define CONFIG_PHY_RESET_DELAY                 10000           /* in usec */
+#define CONFIG_DW_AUTONEG
 
 /* USBD driver configuration */
 #if defined(CONFIG_SPEAR_USBTTY)