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

Graeme Russ graeme.russ at gmail.com
Wed Jun 29 01:03:18 CEST 2011


Hi Vitaly,

On Tue, Jun 28, 2011 at 10:36 PM, Vitaly Kuzmichev
<vkuzmichev at mvista.com> wrote:
> 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?

Yes, it should be - Thanks

Regards,

Graeme


More information about the U-Boot mailing list