[U-Boot] [PATCH 2/2] UEC PHY: Remove strange 0.5 sec delay

Joakim Tjernlund Joakim.Tjernlund at transmode.se
Wed Aug 11 11:44:22 CEST 2010


This udelay looks bogus and doesn't help my board.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
---

 This delay was introduced by ee62ed3286f83b98b7785e0318dc6379e78f7ff6
 Kim, is this really needed for you?

 drivers/qe/uec_phy.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/qe/uec_phy.c b/drivers/qe/uec_phy.c
index 5237960..29ca97e 100644
--- a/drivers/qe/uec_phy.c
+++ b/drivers/qe/uec_phy.c
@@ -398,7 +398,6 @@ static int genmii_update_link (struct uec_mii_info *mii_info)
 			status = phy_read(mii_info, PHY_BMSR);
 		}
 		mii_info->link = 1;
-		udelay(500000);	/* another 500 ms (results in faster booting) */
 	} else {
 		if (status & PHY_BMSR_LS)
 			mii_info->link = 1;
-- 
1.7.1



More information about the U-Boot mailing list