summaryrefslogtreecommitdiff
path: root/include/configs/spear-common.h
diff options
context:
space:
mode:
authorShiraz Hashim <shiraz.hashim@st.com>2012-05-07 07:36:52 (GMT)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 12:07:41 (GMT)
commit25b741a4efc280ab58e8a2d7b669de6d4ea4a7fb (patch)
treed90ee2353314d7fe83f7f1d0a5f04652adf4d753 /include/configs/spear-common.h
parentb884236ec343ca1c24d4bf740fbf883ae16c1cd2 (diff)
downloadu-boot-25b741a4efc280ab58e8a2d7b669de6d4ea4a7fb.tar.xz
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 <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>
Diffstat (limited to 'include/configs/spear-common.h')
-rw-r--r--include/configs/spear-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index bd54a18..09604c5 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)