mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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>
This commit is contained in:
parent
4c547754f5
commit
78536bc4d3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue