[U-Boot] [PATCH v1 (WIP) 12/16] [Timer]Replace get_timer() usage in drivers/

Vitaly Kuzmichev vkuzmichev at mvista.com
Tue Jun 28 14:36:02 CEST 2011


Hello Graeme,

Graeme Russ wrote:
[...]
> diff --git a/drivers/fpga/spartan3.c b/drivers/fpga/spartan3.c
> index 1dd6f26..8282a23 100644
> --- a/drivers/fpga/spartan3.c
> +++ b/drivers/fpga/spartan3.c
[...]
> @@ -233,7 +235,7 @@ static int Spartan3_sp_load (Xilinx_desc * desc, void *buf, size_t bsize)
>  #endif
>  
>  		/* now check for done signal */
> -		ts = get_timer (0);		/* get current time */
> +		ts = time_since_ms();		/* get current time */

Shouldn't time_now_ms() be here?

____
Regards,
Vitaly.


More information about the U-Boot mailing list