[U-Boot] [PATCH 15/25] SPEAr: Enable autoneg for ethernet

Amit Virdi amit.virdi at st.com
Wed Mar 7 13:04:04 CET 2012


From: Shiraz Hashim <shiraz.hashim at st.com>

The linux-2.6.37 base port has few problems with nfs boot. The boot
fails while getting timeout on attempting to mount root file system.
This helps the ethernet to bring up faster in linux boot thus avoiding
the time out.
Besides, it was reported that few phys on SPEAr board are failing in
certain network conditions which is avoided by enabling autonegotiation.
See issue #115943 in global bug tracker.

Reported-by: Deepak Sikri <deepak.sikri at st.com>
Reported-by: Armando Visconti <armando.visconti at st.com>
Signed-off-by: Shiraz Hashim <shiraz.hashim at st.com>
Signed-off-by: Amit Virdi <amit.virdi at st.com>
---
 include/configs/spear-common.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index 5b6ef72..26642f1 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -35,6 +35,7 @@
 #define CONFIG_DW0_PHY				1
 #define CONFIG_NET_MULTI
 #define CONFIG_PHY_RESET_DELAY			(10000)		/* in usec */
+#define CONFIG_DW_AUTONEG			1
 #endif
 
 /* USBD driver configuration */
-- 
1.7.2.2



More information about the U-Boot mailing list