diff options
author | Francois Retief <fgretief@spaceteq.co.za> | 2014-10-27 15:56:01 +0200 |
---|---|---|
committer | Francois Retief <fgretief@spaceteq.co.za> | 2015-12-03 13:15:49 +0200 |
commit | 78536bc4d381a75dac2dc65f59fcfdd72ff3e693 (patch) | |
tree | e5471a0a6c2e100e1ee92e3c06e37e75b2ab42d8 | |
parent | 4c547754f525729e0e81389d94b26f2bea80741c (diff) | |
download | u-boot-imx-78536bc4d381a75dac2dc65f59fcfdd72ff3e693.zip u-boot-imx-78536bc4d381a75dac2dc65f59fcfdd72ff3e693.tar.gz u-boot-imx-78536bc4d381a75dac2dc65f59fcfdd72ff3e693.tar.bz2 |
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 <fgretief@spaceteq.co.za>
-rw-r--r-- | drivers/net/greth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/greth.c b/drivers/net/greth.c index 0624eb8..088cb22 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 |