From: Francois Retief Date: Mon, 27 Oct 2014 13:56:01 +0000 (+0200) Subject: sparc: Use microseconds instead of ticks for timeout X-Git-Tag: v2016.01-rc2~41^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=78536bc4d381a75dac2dc65f59fcfdd72ff3e693;p=u-boot sparc: Use microseconds instead of ticks for timeout We now use the generic delay method which specifies the timeout as microseconds instead of ticks. Signed-off-by: Francois Retief --- diff --git a/drivers/net/greth.c b/drivers/net/greth.c index 0624eb8cac..088cb229da 100644 --- a/drivers/net/greth.c +++ b/drivers/net/greth.c @@ -245,7 +245,7 @@ int greth_init_phy(greth_priv * dev, bd_t * bis) debug("GRETH PHY ADDRESS: %d\n", phyaddr); /* X msecs to ticks */ - timeout = usec2ticks(GRETH_PHY_TIMEOUT_MS * 1000); + timeout = GRETH_PHY_TIMEOUT_MS * 1000; /* Get system timer0 current value * Total timeout is 5s