From: Shiraz Hashim Date: Mon, 7 May 2012 07:36:52 +0000 (+0530) Subject: SPEAr: Enable autoneg for ethernet X-Git-Tag: v2012.07-rc1~11^2~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=25b741a4efc280ab58e8a2d7b669de6d4ea4a7fb;p=oweals%2Fu-boot.git SPEAr: Enable autoneg for ethernet 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 Reported-by: Armando Visconti Signed-off-by: Shiraz Hashim Signed-off-by: Amit Virdi Signed-off-by: Stefan Roese --- diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index bd54a18465..09604c5f10 100644 --- a/include/configs/spear-common.h +++ b/include/configs/spear-common.h @@ -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)